首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

Java compiler level does not match the version .

2013-08-13 
Java compiler level does not match the version ...Eclipse下Java compiler level does not match the v

Java compiler level does not match the version ...
Eclipse下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版本设定不一致的问题。而且这个Java版本跟Project安装的有关系。

解决办法:
既然是project出的问题,自然要从项目属性入手。其实很简单,右键项目“Properties”,在弹出的“Properties”窗口左侧,单击“Project Facets”,打开“Project Facets”页面。
在页面中的“Java”下拉列表中,选择“5.0”或“5.0”以上版本即可。如下图所示:



热点排行