pom.xml 에서 엑박 에러가 계속 난다 =_=

=================================== 에러내용=========================

Multiple markers at this line
- cvc-elt.1.a: Cannot find the declaration of element 'project'.
- schema_reference.4: Failed to read schema document 'https://maven.apache.org/xsd/maven-4.0.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

=====================================================================

 

==================================== 해결방법===============================

pom.xml 가장 상단의 

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">

 

이것을 

아래처럼

 

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

 

빨간 엑박이 없어졌따

 

+ Recent posts