


I changed each project to use workspace JDK compliance and removed project specific settings in SVN projects to prevent from future errors after code update. Maven was internally setting property of each project to use "Project Specific 1.5 java compliance" at each update. Earlier I was only modifying the workspace properties only but using maven project with SVN. compile error, implementing an interface (eclipse jre7 Windows) However, you can specify the -target 1.5 option to JDK 6's javac, which will produce a Java 5 version class file from the Java 6 source code. The error under Java 5 isn't just with Eclipse using javac directly from the command line will give you the same error. Remember that Eclipse can override these global settings for a specific project, so check those too. There, set the "Compiler compliance level" to 1.6.Make sure that your IDE projects are setup to use a Java 6 JRE, and that the "source compatibility" is set to 1.6 or greater: Using the annotation on methods that implement those declared by an interface is only valid from Java 6 onward. Why does Eclipse complain about on interface methods?
