I installed the Eclipse project Compiler compliance levelon 1.6
But I get the error, as in the screenshot below Syntax error, annotations are only available if source level is 1.5.
I updated / cleaned / restarted Eclipse at least 10 times.
It compiles fine with Maven2. The Eclipse project was created by Maven2.
The project uses java-6-openjdk

source
share