Hi All,
I am facing a problem while using annotations .When I write the following code:
eclipse
IDE shows syntax error :annotaions are only available if source level is 5.0
In my project build path, the JRE used is jre1.6.01 and the problem persists with jdk1.5 as well.
My JAVA_HOME is set to jdk1.5
I have faced the bad class file problem(version 48 required but class is vern 49/50) with weblogic 8.1 before and I resolved it by using jdk 1.4 throughout. But this is a different project.
Please let me know if you know the cause of the problem and the workaround.