반응형

Maven Install 시, Console 창을 보니 수상한 에러가 발생했어

내용은 생성자를 주입할때 발생하는 에러로 기본 속성 필드에 액세스를 할 수 없고, 원본 소스를 찾을 수 없어서 발생하는 에러야. 의존성을 주입할때 생기는 에러인데. 이유는 Eclipse 2021-06 reliase

 

 

해결방안 

1. 수동으로 구성

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

 

2. Project의 JDK를 14 or 16 버전으로 바꾸기

https://jdk.java.net/archive/

 

Archived OpenJDK GA Releases

Archived OpenJDK General-Availability Releases This page is an archive of previously released builds of the JDK licensed under the GNU General Public License, version 2, with Classpath Exception. WARNING: These older versions of the JDK are provided to he

jdk.java.net

 

나는 1번 방법으로 너무 쉽게 해결해 버렸어

반응형