Java compiler level does not match the version of the installed Java project fac
Posted 晨曦歡迎您!
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Java compiler level does not match the version of the installed Java project fac相关的知识,希望对你有一定的参考价值。
Java compiler level does not match the version of the installed Java project fac
问题一:
问:项目图标报错,Problems 试图有一条错误显示“Java compiler level does not match the version of the installed Java project facet.” 。
答:这个是因为Facted Project 中的Java 版本设定与项目的Java 版本设定不一致。
如Drawing 1: Modify: Modify Faceted Project 中所示,这个时候项目的Java 的版本为5.0 。如果项目的Java Compiler 的设置如Drawing 2: Java C: Java Compiler 中所示的设置。就是会出现问题中所述的错误。修改的方式很简单,只要统一一下他们的设置。让他们保持一致就OK 了。
project 编译问题
1、properties->project Facets->修改右侧的version 保持一致
2、window->preferences->java->Compiler->设置右侧的Compiler compliance level
3、window->preferences->java->Installed JREs->设置或者选择右侧的Installed JREs
以上三处的jdk版本要保持一致,才能编译通过
http://www.cnblogs.com/lemonme/articles/1655894.html
http://zhoshijie.iteye.com/blog/981849
以上是关于Java compiler level does not match the version of the installed Java project fac的主要内容,如果未能解决你的问题,请参考以下文章
Java compiler level does not match the version of the installed
Java compiler level does not match the version of the installed Java project fac
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
解决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错误的解决