{{theTime}}

Search This Blog

Total Pageviews

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

java.lang.Error: Unresolved compilation problem: 
Syntax error, annotations are only available if source level is 1.5 or greater

at com.devinsider.examboard.server.GreetingServiceImpl.<init>(GreetingServiceImpl.java:10)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)

-- Goto Eclipse Build Path and change the Compiler version to 1.5 or greater.

No comments:

java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport

SpringBoot Error: java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.j...