Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 833
Orin Avatar asked Mar 11 '15 19:03

Orin


People also ask

How do I enable Project facets in eclipse?

To edit a project's facets, select Project > Properties > Project Facets. Facets have version numbers. Not all facet version numbers can be changed (e.g., a facet available in only one version of software can not have other version numbers).

What is Java Project facets?

Facets define characteristics and requirements for Java™ EE projects and are used as part of the runtime configuration. When you add a facet to a project, that project is configured to perform a certain task, fulfill certain requirements, or have certain characteristics.


1 Answers

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

like image 105
Eko Avatar answered Sep 20 '22 12:09

Eko