Class not found: jakarta/servlet/ServletContextListener with OpenGrok 1.12.15 and Tomcat 9 #4416
randygalbraith
started this conversation in
General
Replies: 1 comment 3 replies
-
You need at least Tomcat 10.0. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Everyone. I am seeking assistance getting OpenGrok running.
I am unable to deploy source.war (from OpenGrok 1.12.15) to Tomcat 9.
I copy source.war to webapps/opengrok.war. Tomcat then expands the war file. This results in a failed deploy.
From localhost.2023-10-02.log:
java.lang.NoClassDefFoundError: jakarta/servlet/ServletContextListener
Version details from the Tomcat manager:
Tomcat Version: Apache Tomcat/9.0.80
JVM Version: 11.0.20.1+1
JVM Vendor: Eclipse Adoptium
OS Name: Linux
OS Version: 4.18.0-500.el8.x86_64
OS Architecture: amd64
The OS name from /etc/os-release is: CentOS Stream 8.
Here is the info from server.xml:
Our team has used OpenGrok for years. This is an effort to upgrade to the latest version of OpenGrok.
Kind regards, -Randy
Beta Was this translation helpful? Give feedback.
All reactions