解决java compiler level does not match the version of the installed java project facet

在项目目录的.setting文件夹下的org.eclipse.wst.common.project.facet.core.xml中

<installed facet="java" version="1.7"/>version的版本改为和eclipse compile一样的版本号

原文地址:https://www.cnblogs.com/jinxiao/p/5707586.html