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

Posted Yuan丶野幻想

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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.
解释:
Facted Project中的Java版本设定与项目的Java编译器的compliance level不一致。
解决办法:
首先,查看Compiler compliance level。
右键->Project->Properties->Java Compiler,获取Compiler compliance level。
然后,修改Project Facets的Java值。
右键->Project->Properties->Project Facets,选中Java,点击Modify Project...按钮,修改Java的值,使它Compiler compliance level相同。

以上是关于Java compiler level does not match the version of the installed Java project facet.的主要内容,如果未能解决你的问题,请参考以下文章