Type Java compiler level does not match the version of the installed Java project facet.项目内容没错但是项目上报

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Type Java compiler level does not match the version of the installed Java project facet.项目内容没错但是项目上报相关的知识,希望对你有一定的参考价值。

1、Window->Show View->Problems

2、在项目上右键properties->project Facets->修改右侧的version  保持一致

3、window->preferences->Java->Compiler->设置右侧的Compiler compliance level

4、window->preferences->java->Installed JREs->设置或者选择右侧的Installed JREs

5、以上三处的jdk版本要保持一致,才能编译通过

6、另外,一般新导入的工程需要设置编码格式,如下图:

7、修改jsp的编码格式

 

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

Description Resource Path Location Type Java compiler level does not match the version of(编译问题)(示例代码

Description Resource Path Location Type Java compiler level does not match the version of the instal

Eclipse工程中Java Build Path中的JDK版本和Java Compiler Compiler compliance level的区别(转)

Java compiler level does not match解决方法

Java compiler level does not match解决方法

Java compiler level does not match the version of the installed