본문 바로가기
Tools/Eclipse / STS

pom.xml 첫줄 밑줄 에러 : "Exception java.lang.ExceptionInlnitializerError: Cannot access defaults field of Properties [in thread "Worker-193: Building"]"

by 코플+ 2024. 7. 22.

증상 : pom.xml 첫줄에 빨간 밑줄

Exception java.lang.ExceptionInlnitializerError: Cannot access defaults field of Properties [in thread "Worker-193: Building"]

 

 

해결 : maven-war-plugin 추가

 

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.2</version>
</plugin>

댓글