Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Paul Santa Maria
Ranch Hand
Posts: 236
  • Mark post as helpful
  • send pies
  • 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
  • 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
Eclipse Project Properties, Java Facets panel
[Thumbnail for ss_01.jpg]
 
Gemini Moses
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
I got it. My runtime was WAS6.0 hence Java 5 was not shown in dropdown
 
Mr. Ram
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The issue has been resolved.
 
Haifeng Jiang
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • 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
 
Maki Jav
Ranch Hand
Posts: 445
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you,

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


Thanks


Maki Jav
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic