问题
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 can’t move my project because “Project facet Java version 1.8 is not supported.” What is the problem and how can I fix this?
Getting “Project facet Java version 1.8 is not supported.” in Eclipse Luna
解决方法:
I solved the problem. Go to Project Properties -> Project Facets -> Runtime -> New -> Add a tomcat server and in JRE select JRE1.8.0_XX.
Did the work for me
补充
如果jre版本对不上的话:
右键项目buildpath,libary里面有个jre,换成对应的版本即可