dangerChihuahua007
dangerChihuahua007

Reputation: 20895

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

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?

Upvotes: 63

Views: 100098

Answers (4)

Arjun Kushwah
Arjun Kushwah

Reputation: 1

I got this issue in IBM RAD tool eclipse It got resolved following below.

  • Right click on project
  • Properties
  • Project facets
  • Configuration (select Default configuration for WebSphere application server v7.0 )
  • Apply

Upvotes: 0

kumar ravi
kumar ravi

Reputation: 101

its simple.. in Problems infotab, rightclick on error desc and select quickfix... choose facet version upgrade..

Upvotes: 10

java traniee
java traniee

Reputation: 161

Right click on your project->properties->Project Facets,

This will show your current version of java for your project facet.

In my case I had the correct version for my facet but not my compiler, So had to right click on project->properties->Java Compiler

Then under Compiler compliance level drop list and change to version of project facet.

Upvotes: 16

GokcenG
GokcenG

Reputation: 2801

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.

Upvotes: 143

Related Questions