Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Eclipse Web Tools Platform Project (WTP) » Facet Project Problem - OpenJDK13.0.1 & Tomcat 9.0.30 - Dynamic Web Project(Java compiler level does not match the version of the installed Java project facet)
Facet Project Problem - OpenJDK13.0.1 & Tomcat 9.0.30 - Dynamic Web Project [message #1818408] Sat, 14 December 2019 16:34 Go to next message
patrick O is currently offline patrick OFriend
Messages: 1
Registered: December 2019
Junior Member
Hi,

Using Eclipse: Version: 2019-09 R (4.13.0) under Ubuntu 18.04.

After setting up a dynamic web project, I get the following error:
"Java compiler level does not match the version of the installed Java project facet"
In my project-->Project Facets I have the following setting:
Dynamic Module = 4.0
Java = 13
JavaScript = 1.0
JAX-RS (REST WebServices) = 1.1
WebDoclet (XDocklet) = 1.2.3


Note: I see this error after a default Eclipse creation of the baseline project (basically my starting point).
I am able to create this example and it runs on the tomcat 9 local server despite this error remaining! I can proceed to build and test the example with the persistent error.
www.codejava.net/coding/java-servlet-and-jsp-hello-world-tutorial-with-eclipse-maven-and-apache-tomcat

I have the option to select Java to 9, 10, 11, 12 and 13 in Project Facets; when I select 12, the error goes away.
**The issue is that I am using Java 13 and need to stay on 13. I do understand that I can move away from Java 13, but this is not my requirement.

Interesting to note:
1. When I change the Java to 12, I can run only a local Tomcat 9.0 server and the example above works.

Thoughts... It looks like I can leave it in this configuration (selecting Java 12 and not seeing the error), but it does not appear clean. To boot, I don not have Java 12 on my system.

Any help/guidance would be appreciated.
Re: Facet Project Problem - OpenJDK13.0.1 & Tomcat 9.0.30 - Dynamic Web Project [message #1818468 is a reply to message #1818408] Mon, 16 December 2019 21:05 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4434
Registered: July 2009
Senior Member

Have you installed the base Java 13 support for that release from https://marketplace.eclipse.org/content/java-13-support-eclipse-2019-09-413 ?

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:Every time I edit in JavaScript Editor, it triggers IResourceChangeEvent
Next Topic:how to automatically include jar files of web app in build path
Goto Forum:
  


Current Time: Fri Apr 19 14:45:20 GMT 2024

Powered by FUDForum. Page generated in 0.03433 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top