转:
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 path没有问题,一样的jre。不解。Google 搜索
问题一:
问:项目图标报错,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
了。
在项目上右键properties-->Project Facets可以更改项目编译级别
在 Java Compiler 可以更改jdk编译级别
原来是第一个图中java版本不对。
分享到:
相关推荐
Java compiler level does not match the version of the installed Java project facet. Unknown Faceted Project Problem (Java Version Mismatch) 1、preferences > java > Installed JRES > 选择java version ...
The component includes the Java facet, modeling of the JVM-based runtimes and tools for simplifying Java library management for facet authors. Note: you only need this zip file(s) if you want to use...
Pro JavaFX 9: A Definitive Guide to Building Desktop, Mobile, and Embedded Java Clients also contains engaging tutorials that cover virtually every facet of JavaFX development and reference materials...
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4"> <facet type="web" name="Web"> <deploymentDescriptor name="web.xml" url="file:...
Discover how EMF makes modeling easy and practical enough for virtually any Java project-and why EMF modeling provides a solid foundation for fine-grained interoperability and data sharing across ...
<module external.linked.project.id="VoicePhone" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" type="JAVA_MODULE" version="4"> ...
Pro JavaFX 9: A Definitive Guide to Building Desktop, Mobile, and Embedded Java Clients also contains engaging tutorials that cover virtually every facet of JavaFX development and reference materials...
cp project.samples .project import into eclipse project run with tomcat 7 (!!!不支持tomcat 8 !!!) 访问 localhost:8080// 为 json 访问 localhost:8080//hello.jsp 为 jsp 页面 更新 将 .setting.zip 文件...
对于此项目,创建了一个动态 Web 模块并添加了 JPA 的 Project Facet。 这个 Restful Web 服务生成 JSON 和 XML(使用 jersey、gson 和 jsr311),使用 MySQL 数据库,在持久层中我使用了 hibernate-release-4.3.6....
│ │ org.eclipse.wst.common.project.facet.core.xml │ │ org.maven.ide.eclipse.prefs │ │ │ ├─src │ │ ├─main │ │ │ ├─java │ │ │ │ ├─com │ │ │ │ │ └─tr │ │ │ │ │ └─...
Specifying facet-based dependencies 34. Overriding starter transitive dependencies 35 CONTENTS 2.8 USing automatic configuration 37 Focusing on application functionality 37. Running the application ...