Spring Cannot access defaults field or Properties 오류 해결법

조예빈·2024년 5월 13일
0

Spring

목록 보기
7/19

위의 사진처럼 pom.xml 파일의 좌측 상단에 에러가 뜨며, 에러 메세지를 보면 다음과 같이 뜬다.

pom.xml에 maven-war-plugin을 추가해 주면 정상적으로 작동하는 것을 알 수 있다.

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-war-plugin</artifactId>
  <version>3.3.2</version>
</plugin>
profile
컴퓨터가 이해하는 코드는 바보도 작성할 수 있다. 사람이 이해하도록 작성하는 프로그래머가 진정한 실력자다. -마틴 파울러

0개의 댓글