{{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:

Best Client Optimized Programming Language for Mobile Development?

Use Google's Dart language, which is Object-oriented, class-based and garbage-collected language with C-Style.  Dart can compile to eith...