Java问题解决:Java compiler level does not match the version of the installed Java project facet.

Posted Zoe`

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Java问题解决:Java compiler level does not match the version of the installed Java project facet.相关的知识,希望对你有一定的参考价值。

问题原因:Java编译器级别与Facted Project 中的Java 版本设定不匹配。

解决办法:将两者设置一致

1.查看Java compiler level :

  选中项目右键properties->Java Complier:由图可知compiler level是1.8

2.修改Project Facets的java值,使其与java complier相同:

 

搞定!

 

以上是关于Java问题解决: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解决方法

IDEA:Error:java: Compilation failed: internal java compiler error

Error:java: Compilation failed: internal java compiler

maven -- 问题解决Java compiler level does not match the version of the installed Java project facet(示

Error:java: Compilation failed: internal java compiler error