Why doesn't my java compiler level match my installed project facet?

dangerChihuahua007 picture dangerChihuahua007 · Jul 9, 2012 · Viewed 97k times · Source

I made a simple Java Google AppEngine application called Guestbook in Eclipse 3.7 and am trying to run it. However, I am encountering an error that lacks a quick fix:

Description Resource    Path    Location    Type
Java compiler level does not match the version of the installed Java project facet.
Guestbook       Unknown Faceted Project Problem (Java Version Mismatch)

I tried navigating to Project | Properties to change my project facet. However, I could not find a setting that dealt with "facet."

enter image description here

What does "installed Java project facet" mean, and how do I fix this?

Answer

GokcenG picture GokcenG · Jul 9, 2012

You can see your facets via Right click on your project->properties->Project Facets,

Here you can see my facets for an example web application: here

I think your Java facet does not match with the installed one. I'm suspicious that facet is at version 1.5. Please check it.

Add-on:Open the Navigator view, expand the .settings folder, open the file org.eclipse.wst.common.project.facet.core.xml and manually set the Java version to 1.6.