Eclipse사용 중 특정 프로젝트의 pom.xml에서 첫문단 <?xml version="1.0" encoding="UTF-8"?> 오류발생 시 아래와 같이 처리

 

1. m2e 커넥터 설치

참고 : download.eclipse.org/m2e-wtp/releases/1.4/

 

Eclipse software repository | The Eclipse Foundation

The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and over 360 open source projects, including runtimes, tools and frameworks.

download.eclipse.org

또는

2. maven-jar-plugin 다운그레이드

1
2
3
4
<properties>
    <!-- ... -->
    <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
</properties>
cs

pom.xml에 추가

참고 : stackoverflow.com/questions/56455851/maven-pom-xml-problem-unknown-error-at-top-line-xml-version-1-0-encoding

 

Maven POM.xml problem - Unknown error at top line ( )

I am setting up a project in STS with Spring starter project and added required dependencies like spring security and JSP. But the top line of pom file throwing an error as Unknown Can anybody he...

stackoverflow.com

 

 

 

Posted by 셋부터넷
,