We're attempting to migrate our web application from Java 8 to Java 11, and Tomcat 9 to Tomcat 10, however we found out that we need to refactor the code to change javax.* entries by jakarta.* entries. The question is, will the most recent version of GeoServer run in Tomcat 10? Thanks.
We already tried deploying GeoServer 2.19.2 on Tomcat 10 but didn't work.
GeoServer is not compatible with Tomcat 10.x, it's not compatible with JakartaEE. Stay with Tomcat 9, which is using Java2EE instead.
It can be done, with some massaging. The issue is JaveEE to JakartaEE migration. You can use a migration tool (https://github.com/apache/tomcat-jakartaee-migration) on the Geoserver WAR file. I've used it with versions 2.21.3 and 2.20.2 and deployed them to Tomcat 10.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With