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.