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

it2025-05-07  27

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

CreateTime--2018年4月24日10:28:43

Author:Marydon

1.情景再现

2.选中项目-->右键-->Build Path-->Configure Build Path;

3.Java Build Path-->选中"JRE System Library"-->Edit;

4.选择"Alternate JRE",也可以选择"Workspace default JRE"-->Finish-->Apply;(我设置的是工作空间默认项)

5.Java Compiler-->下面说的是currently 1.7-->所以将1.5改为1.7-->Apply;

6.Yes-->OK即可。

 

 

 相关推荐:

eclipse 配置多个jdk(jre)

 

 

转载于:https://www.cnblogs.com/Marydon20170307/p/8926825.html

相关资源:数据结构—成绩单生成器
最新回复(0)