22.04 tomcat9 with openjdk8 JSP compilation error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tomcat9 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hi,
After a new Ubuntu 22.04 install, we have installed the openjdk8 and tomcat9 packages:
sudo apt install openjdk-8-jdk
sudo apt install tomcat9
After the install we have tested it by deploying the sample application, from https:/
The Sample contains a simple JSP page, which throws an error:
Message java.lang.
This class is in the libeclipse-
Tomcat 9 is officially supported on JDK 8, so I think the libeclipse-
Also we could find a workaround: installing the libecj-java package (which supports Java 8) and creating a symlink in the tomcat9 lib directory.
Thanks,
Zoltan
System Info:
Description: Ubuntu 22.04 LTS
Release: 22.04
tomcat9:
Installed: 9.0.58-1
Candidate: 9.0.58-1
Version table:
*** 9.0.58-1 500
500 http://
100 /var/lib/
openjdk-8-jdk:
Installed: 8u312-b07-0ubuntu1
Candidate: 8u312-b07-0ubuntu1
Version table:
*** 8u312-b07-0ubuntu1 500
500 http://
100 /var/lib/
libeclipse-
Installed: 3.27.0+
Candidate: 3.27.0+
Version table:
*** 3.27.0+
500 http://
100 /var/lib/
Status changed to 'Confirmed' because the bug affects multiple users.