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

后端 未结 7 1697
我在风中等你
我在风中等你 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

    Actually I just wanted to add to the knowledge here. I often run into this problem. The thing that solves it for me is to actually change the Compiler compliance level.

    Do this :

    Right click on project -> Properties

    Click on Java Compiler Tab

    UNCHECK Enable Project Specific Settings, then click on the configure workspace settings... link and make sure your compiler compliance level is set to the preferred java version your runtime cannot support.

    Once done, rebuild your project this may clear the problem.

提交回复
热议问题