Maven项目,报错Java compiler level does not match the version of the installed Java project facet

使用eclipse新建maven项目。项目建立后手动修改org.eclipse.wst.common.project.facet.core.xml文件,

Maven项目,报错Java compiler level does not match the version of the installed Java project facet

修改项目 Project Facets 

Maven项目,报错Java compiler level does not match the version of the installed Java project facet


修改后发现项目名称处报错,有红色叉号。

查找eclipse中Problems,发现报错java compiler level does not match the version of the installed java project facet”

发现没有修改编译器版本。在项目中右键选择Properties,修改Java Compiler设置

Maven项目,报错Java compiler level does not match the version of the installed Java project facet