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

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即可。

 

 

 相关推荐:

 

posted @ 2018-04-24 10:52  Marydon  阅读(219)  评论(0编辑  收藏  举报