Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Eclipse Dynamic Web Project: Java compiler level does not match the installed Java Project facet

 
Ranch Hand
Posts: 236
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi -

I've created a new Dynamic Web Project in Eclipse. I need to set the JDK compliance level to "1.5". But I get this error:

Java compiler level does not match the version of the installed Java project facet



Q: Is there any way to figure out WHICH facet it's complaining about, so I can fix it?

Thank you in advance .. PSM
 
Paul Santa Maria
Ranch Hand
Posts: 236
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
QUESTION ANSWERED:

There is a "Project Facets" section under the project's properties. I just changed Java "version" to 5.0, and things are working
ss_01.jpg
[Thumbnail for ss_01.jpg]
Eclipse Project Properties, Java Facets panel
 
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Paul,

I am getting same error that you were.

However , For Project facets
Java I have only 1.4 or 1.3 in the dropdown.

How do I get 1.5 populated here so I can select it?

Thanks!

 
Gemini Moses
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I got it. My runtime was WAS6.0 hence Java 5 was not shown in dropdown
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The issue has been resolved.
 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Paul Santa Maria wrote:QUESTION ANSWERED:

There is a "Project Facets" section under the project's properties. I just changed Java "version" to 5.0, and things are working



fixed after looking your solution. thanks
 
Ranch Hand
Posts: 473
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you,

It has helped me too today, 5 years after you posted.


Thanks


Maki Jav
 
If you are using a rototiller, you are doing it wrong. Even on this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic