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

Windows 8.3 file naming setting is disabled for the product

To enable Windows 8.3 file naming setting use fsutil command Example:  c:\> fsutil 8dot3name set C: 0