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

时间: 2025-01-11 23:22:11

Java compiler level does not match the version of the installed Java project fac的相关文章

maven -- 问题解决(三)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 解决方法如下: properties->Java Compiler,修改JDK版本,然后Apply

解决java compiler level does not match the version of the installed java project facet【转载】

原博文地址http://blog.csdn.net/chszs/article/details/8125828 Java compiler level does not match the version of the installed java project facet错误的解决 因工作的关系,Eclipse开发的Java项目拷来拷去,有时候会报一个很奇怪的错误.明明源码一模一样,为什么项目复制到另一台机器上,就会报"java compiler level does not match t

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错误的解决 因工作的关系,Eclipse开发的Java项目拷来拷去,有时候会报一个很奇怪的错误.明明源码一模一样,为什么项目复制到另一台机器上,就会报“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.

1.Java compiler level does not match the version of the installed Java project facet,意思是jdk版本和project facet版本不一致 2.解决Java Compiler和Project facets的版本需一致

Java compiler level does not match the version of the installed Java project facet错误的解决

Javacompiler level does not match the version of the installed Java project facet错误的解决 因工作的关系,Eclipse开发的Java项目拷来拷去,有时候会报一个很奇怪的错误.明明源码一模一样,为什么项目复制到另一台机器上,就会报"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问题处理

从SVN上下载应用后在Problems面板中提示以下错误信息: Java compiler level does not match the version of the installed Java project facet 我的Java编译级别和项目设置的编译级别不匹配导致的错误信息. 百度发现,可以通过修改项目目录下的"\.settings\org.eclipse.wst.common.project.facet.core.xml"文件解决该问题. 将org.eclipse.w

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

从同事那里拷贝过来的web项目,导入到eclipse中,出现Java compiler level does not match the version of the installed Java project facet 问题. 如图所示: 其实要解决也很简单,在资源管理器下,找到项目所在的目录,在.settings子目录里面,用文本编辑器打开org.eclipse.wst.common.project.facet.core.xml配置文件,如图所示: 修改红色画线部分,让它与项目的编译器版

解决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.这个问题,因为当时没怎么管,网上找了个解决方法之后就没再去理会,学习了一段前端之后,再回来重新用MyEclipse来做web开发,发现又出现这个问题,一时蒙圈了,只是极有印象,网上搜了有个回答要去硬盘找什么文件然后修改,我还是不喜欢这样的,所以重新来解决这个问题.先说我的配置: Tomcat:7 JDK:7 在MyEc

改变Eclipse中java编译器版本出现错误:Java compiler level does not match the version of the installed Java project facet.

改变Eclipse中java编译器版本出现错误:Java compiler level does not match the version of the installed Java project facet. 错误原因:Project Facts中的Java版本设定与项目的Java版本设定不一致. 解决方案:在Eclipse环境中 1. 鼠标右键选择项目,点击Properties,选择Java Build Path查看或修改JRE System Library的jre或jdk的版本. 2.