메이븐 프로젝트를 생성한 뒤 pom.xml에 발생하는 문제 입니다.
Exception java.lang.ExceptionInInitializerError:
Cannot access defaults field of Properties [in thread "Worker-41: Building workspace"]
해결방법
pom.xml에 해당 플러그인을 추가하시면 됩니다.
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.2</version>
</plugin>
</plugins>
더보기
참고 : https://stackoverflow.com/questions/67168999/maven-error-cannot-access-defaults-field-of-properties
Maven error Cannot access defaults field of Properties
I use the newest version of Java -> 16. When I run mvn clean, I am getting Could not initialize class org.apache.maven.plugin.war.util.WebappStructureSerializer error. I read that adding maven-war-
stackoverflow.com
댓글