Error-type parameters are only avaliable if source level is 1.5 or greater

CODEDRAGON Development/Java

반응형

   

   

에러 메시지 1

   

Set project compiler compliance settings to 1.5

Set project JRE build path entry to 'J2SE-1.5'

   

  

   

   

   

   

에러메시지 2

Syntax error, annotations are only available if source level is 1.5 or greater

  

   

   

   

   

해결방법

JRE버전을 1.5이상으로 변경하여 해결합니다.

소스상에서

Change project compliance and JRE to 1.5 수행

   

   

Properties속성에서 JRE버전이 1.5변경된것 확인

  

  

 

반응형

'Development > Java' 카테고리의 다른 글

멀티 스레드 장단점  (0) 2016.02.17
How tomcat works - 자바 웹 개발자를 위한 e-book  (0) 2016.02.03
Java 8 Streams cheat sheet  (0) 2016.01.30
상속(Inheritance), 상속모형  (0) 2016.01.29
자바의 특징  (0) 2016.01.18