"Java compiler level does not match the version of the installed Java project facet"异常解决
2011-06-11 23:41
525 查看
今天又遇到了相同的问题,如题,就记下来,希望能帮助到遇到这个问题的朋友
使用的环境是Ecplise,创建的站点,原本使用的是JRE环境使用的JavaSE-1.5,但我的JDK使用的1.6,于是我就把站点的JRE环境修改为了1.6环境,结果报错,如下图:
解决办法是:
<1> 打开Ecplise中站点的Navigator视图,站点的目录下存在.settings文件夹
<2> 在该文件夹下找到org.eclipse.wst.common.project.facet.core.xml文件并打开,内容中有该节
点内容“<installed facet="java" version="1.5"/>”,将1.5修改为1.6
<3> 编译站点,问题将不再存在
使用的环境是Ecplise,创建的站点,原本使用的是JRE环境使用的JavaSE-1.5,但我的JDK使用的1.6,于是我就把站点的JRE环境修改为了1.6环境,结果报错,如下图:
解决办法是:
<1> 打开Ecplise中站点的Navigator视图,站点的目录下存在.settings文件夹
<2> 在该文件夹下找到org.eclipse.wst.common.project.facet.core.xml文件并打开,内容中有该节
点内容“<installed facet="java" version="1.5"/>”,将1.5修改为1.6
<3> 编译站点,问题将不再存在
相关文章推荐
- 解决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.
- java compiler level does not match the version of the installed java project facet错误的解决
- Java compiler level does not matchthe version of the installed Java project facet解决方法
- 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
- 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
- 解决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 项目导入报错解决
- 解决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
- Java compiler level does not match the version of the installed Java project facet. map解决方法
- 解决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
- 解决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
- java compiler level does not match the version of the installed java project facet错误的解决
- JavEE 报错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.问题解决办法