解决版本不一致:Project facet Java version 1.8 is not supported解决记录
Posted 宋赟鑫 https://meilishiyan-song.t
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了解决版本不一致:Project facet Java version 1.8 is not supported解决记录相关的知识,希望对你有一定的参考价值。
http://blog.csdn.net/dingchenxixi/article/details/51496998
一看知道是因为jdk版本不一致所导致,如何解决?
方法一:
选中项目 Properties , 选择 Project Facets,右击选择 Java , Change Version
方法二:
在 项目的目录下有一个.settings的文件夹,该文件夹下有一个org.eclipse.wst.common.project.facet.core.xml文件,内容如下;
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<fixed facet="jst.java"/>
<fixed facet="jst.web"/>
<installed facet="jst.web" version="2.4"/>
<installed facet="jst.java" version="8.0"/>
</faceted-project>
修改 <installed facet="jst.java" version="8.0"/>
为 <installed facet="jst.java" version="7.0"/>
即可。
以上是关于解决版本不一致:Project facet Java version 1.8 is not supported解决记录的主要内容,如果未能解决你的问题,请参考以下文章
Project facet Java version 1.8 is not supported解决记录
Project facet Java version 1.8 is not supported解决记录
选择tomcat时候提示Project facet Java version 1.8 is not supported.解决办法
eclipse中,项目有红叉之-Java compiler level does not match the version of the installed Java project facet.(
Java问题解决:Java compiler level does not match the version of the installed Java project facet.
Cannot change version of project facet Dynamic Web Module to 3.1.