Tomcat Errors After Upgrade from 15.10.1 to 16.0.0

I just updated our Xwiki instance to version 16.0.0. Tomcat now produces the following errors:

[warning] The path attribute with value [/xwiki] in deployment descriptor [/etc/tomcat9/Catalina/localhost/xwiki.xml] has been ignored
[crit] One or more listeners failed to start. Full details will be found in the appropriate container log file
[crit] Context [/xwiki] startup failed due to previous errors
[warning] Failed to clear soft references from ObjectStreamClass$Caches for web application [xwiki]
[warning] java.lang.ClassCastException: class java.io.ObjectStreamClass$Caches$1 cannot be cast to class java.util.Map (java.io.ObjectStreamClass$Caches$1 and java.util.Map are in module java.base of loader 'bootstrap')

I checked the configuration files and everything looks right to me. I’m not sure what else to do here. Any assistance would be greatly appreciated. Thanks!

Hi @traverbrad! Perhaps this thread can help!

That thread was very helpful! It turns out I needed to add the default-java symbolic link and point it at the java-17-openjdk-amd64 directory in /usr/lib/jvm. Thanks so much!