Facet Project Problem - OpenJDK13.0.1 & Tomcat 9.0.30 - Dynamic Web Project [message #1818408] |
Sat, 14 December 2019 16:34 |
patrick O 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.
|
|
|
|
Powered by
FUDForum. Page generated in 0.01754 seconds