Getting “Project facet Java version 1.8 is not supported.” in Eclipse Luna

后端 未结 7 1728
我在风中等你
我在风中等你 2021-02-02 08:16

I am using up-to-date Eclipse Luna which should be ready for Java 8. However when I choose to create a new server with Tomcat 7 and click Next, in the Add and Remove screen I ca

7条回答
  •  面向向阳花
    2021-02-02 08:53

    That is because you just changed your JRE location in the workspace property, which TOMCAT relies on.

    Please reset your tomcat property accordingly again:

    windows -> preference -> server -> Runtime Environments. To the right of Runtime Environments, you should see the servers. Remove Tomcat 8.0 and add Tomcat v9.0. Rebuild project. 
    

    You can remove and create it again, or just update it.

提交回复
热议问题