Version 1.8 of project facet java does not exist

后端 未结 6 1454
臣服心动
臣服心动 2020-12-08 01:55

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

6条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-08 02:41

    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.

提交回复
热议问题