Extract the downloaded lib.zip file to the <APP_HOME>/WEB-INF directory. (If you already have a lib folder in your web app, merge the content of the downloaded lib.zip file into the existing lib folder.)
I downloaded lib.zip, converted it to jakarta namespace and copied the libraries to my existing webapp. But after that tomcat started complaining about the error:
java.lang.UnsupportedClassVersionError: org/opengrok/web/WebappListener has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 (unable to load class [org.opengrok.web.WebappListener])
at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2515)
Describe the issue:
As per the document here:
Extract the downloaded lib.zip file to the <APP_HOME>/WEB-INF directory. (If you already have a lib folder in your web app, merge the content of the downloaded lib.zip file into the existing lib folder.)
I downloaded lib.zip, converted it to jakarta namespace and copied the libraries to my existing webapp. But after that tomcat started complaining about the error:
How to reproduce:
Expected behavior: Tomcat should be able to start after coping the file.
Environment information (Please complete the following information; remove any unnecessary fields) :