development♥

Resource specification not allowed here for source level below 1.7 오류 에러 해결 방법

리니❤ 2022. 9. 28. 09:10
반응형

 

Resource specification not allowed here for source level below 1.7

이 에러는 1.7이상의 컴파일 환경을 사용하고 있는데 

1.7 이하의 버전을 환경설정에서 사용중이기 때문에 발생하는 에러

 

해결방법 2가지 

 

1. 왼쪽에 빨강 x버튼을 클릭하면

change project compliance and JRE to 1.7 이 뜨는데

그거를 클릭해서 해결해도되고

 

 

 

 

 

 

 

2. pom.xml파일에서 

 

 

 

1.6버전을 1.7혹은 1.8 등으로 변경하기 

 

 

 

 

반응형