eclipse新导入的项目报错:java compiler level does not match the version of the installed java project facet,
还有项目中@Overrider报错,如图所示

java compiler level does not match the version of the installed java project facet报错

java compiler level does not match the version of the installed java project facet报错

workspace的jdk编译版本(1.7)和项目的编译版本(1.5)不同,修改项目的编译版本为jdk1.7。
右键项目–>Properties–>Project Focade.
右键项目–>Properties–>Java Compiler.
如下图所示

java compiler level does not match the version of the installed java project facet报错

java compiler level does not match the version of the installed java project facet报错

相关文章: