Version 1.8 of project facet java does not exist.
来源:互联网 发布:最新骂人网络流行语 编辑:程序博客网 时间:2024/05/22 05:20
I'm trying to build a Dynamic Web Application
in eclipse using Java 8 (and Wildfly appServer if that matters) but I'm unable to make Eclipse Luna M5 use Java 8 (I do have Java 8 BETA support installed and it works on JavaSE projects).
In my POM I set the level to Java 8:
<plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <source>1.8</source> <target>1.8</target> </configuration></plugin>
But after I do maven -> update project
I get the following error:
Could not update project ExampleApp configurationVersion 1.8 of project facet java does not exist.
And indeed there is no java 1.8 project facet under project->preferences->project facets->java
Can I manually create such facet
and add It to to eclipse or I'll have to wait until java 8 is released and the eclipse guys decide to add it ?
There are additional patches available for Kepler SR2 officially.In ecliplse, go to "Help" --> "Market Place" --> Search for java 8 kepler.Then choose and install the following.
- install Java 8 support eclipse kepler sr2,
- Java 8 Facets for web tools eclipse kepler sr2
- Java 8 support for m2e for Eclipse Kepler SR2 (if required)
Reference: http://www.eclipse.org/downloads/java8/
After this, my multi-module maven project with java 8 is building fine without any error in eclipse kepler SR2.
UPDATE: If you are using Spring Tool Suite (STS), then version 3.5.1 has included these features.
- Version 1.8 of project facet java does not exist.
- Eclipse 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
- Error: 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"异常解决
- 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
- 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
- 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
- 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. 解决办法
- 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
- 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
- Java compiler level does not match the version of the installed Java project facet.
- How to Extend Django User Model 如何扩展Django用户模型
- java中poi导出excel
- Github使用常见问题及Git命令教程
- java 将字符串首字母大写
- MFC 对话框里创建toolbar 横的 竖的
- Version 1.8 of project facet java does not exist.
- 牛的选举
- python 小结
- javaScript中Promise详解
- 业余草最新热门博客推荐
- zuul 路由配置
- Android开发-自定义View-AndroidStudio(二十八)缩放的View
- python csv
- FFMpeg 源码分析(1)av_register_all()