에러

the import javax.annotation.resource cannot be resolved

 

원인

 javax.annotation.resource 가 import 되지 않아서

 

해결

pom.xml 파일에 

<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>1.3.1</version>
</dependency>

추가

+ Recent posts