Hi there,
I also just updated from wxiki 15 to 16 in our test environment and ran into the same error.
It turns out that tomcat still starts with java version 11 instead of version 17, which was additionally installed during the update.
Take a look at your startup sequence. Your tomcat is also still running version 11:
Java Home: /usr/lib/jvm/java-11-openjdk-amd64
JVM Version: 11.0.22+7-post-Ubuntu-0ubuntu222.04.1
I found this post on stackoverflow on how to get tomcat9 running with java version 17:
https://stackoverflow.com/a/75876914
In short:
purge java 11.
Add new JAVA_HOME to system environment.
Edit /usr/libexec/tomcat9/tomcat-locate-java.sh
so tomcat9 recognizes Java versions newer than 11
I found this post while I was looking for a solution. If you have already solved the problem by yourself, it might help others who also encounter the error.