Java compiler level does not match the version of the installed Java project facet问题处理

Posted 星火燎原

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Java compiler level does not match the version of the installed Java project facet问题处理相关的知识,希望对你有一定的参考价值。

从SVN上下载应用后在Problems面板中提示以下错误信息:

Java compiler level does not match the version of the installed Java project facet
image

我的Java编译级别和项目设置的编译级别不匹配导致的错误信息。

百度发现,可以通过修改项目目录下的“\\.settings\\org.eclipse.wst.common.project.facet.core.xml”文件解决该问题。

image

将org.eclipse.wst.common.project.facet.core.xml中的java属性修改为对应的版本即可。

如将我的1.6修改为1.7后刷新项目错误消失。

以上是关于Java compiler level does not match the version of the installed Java project facet问题处理的主要内容,如果未能解决你的问题,请参考以下文章