Version|Version 1.8 of project facet java does not exist.
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:
【Version|Version 1.8 of project facet java does not exist.】maven-compiler-plugin
3.1
1.8
1.8
But after I do
maven -> update project
I get the following error:Could not update project ExampleApp configuration
Version 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)
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.
推荐阅读
- Windows10|Windows10,Version,1903,7月更新,MSDN镜像下载
- 11.8关系的纠缠
- 10.10VS11.8
- 流浪爱情(11.8)
- 2018-01-28|2018-01-28 centos 6.5 安装jdk1.8
- day1-win10下JDK1.8(8u65)环境安装和测试
- ConcurrentHashMap的实现原理(JDK1.7和JDK1.8)
- 「每日一道算法题」ZigZag|「每日一道算法题」ZigZag Conversion
- 苹果自动驾驶汽车团队又一经理跳槽,Project Titan项目再遇挫
- Ubuntu16.04/Scala2.11.8安装教程