`
lndalian2000
  • 浏览: 28817 次
  • 性别: Icon_minigender_1
  • 来自: 大连
社区版块
存档分类
最新评论

转:Java project facet

阅读更多
转:
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版本不对。

分享到:
评论

相关推荐

    JavaVersionMismatch

    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 ...

    wtp-common-fproj-enablement-jdt-I-3.2.0-20100107113913.zip

    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

    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:...

    eclipse Modeling Framework

    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 ...

    Android 语音打电话(语音识别-11_098).zip

    <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, 4th Edition

    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...

    cuc-spring-tomcat7-template:初始发布

    cp project.samples .project import into eclipse project run with tomcat 7 (!!!不支持tomcat 8 !!!) 访问 localhost:8080// 为 json 访问 localhost:8080//hello.jsp 为 jsp 页面 更新 将 .setting.zip 文件...

    WebserviceRestful:Restiful webservice 项目,用于计算两个城市之间的距离

    对于此项目,创建了一个动态 Web 模块并添加了 JPA 的 Project Facet。 这个 Restful Web 服务生成 JSON 和 XML(使用 jersey、gson 和 jsr311),使用 MySQL 数据库,在持久层中我使用了 hibernate-release-4.3.6....

    一个支持annotation的SSH整合示例项目

    │ │ org.eclipse.wst.common.project.facet.core.xml │ │ org.maven.ide.eclipse.prefs │ │ │ ├─src │ │ ├─main │ │ │ ├─java │ │ │ │ ├─com │ │ │ │ │ └─tr │ │ │ │ │ └─...

    Spring.Boot.in.Action.2015.12.pdf

    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 ...

Global site tag (gtag.js) - Google Analytics