I solved the issue. Apparently even though my system was setup to use Java 17, I still had Java 11 available. My */etc/default/tomcat9* file didn't explicitly specify JAVA_HOME. So apparently XWiki Tomcat just picked Java 11 as the first one it encountered in `/usr/lib/jvm` rather than use the system's active version of Java as reported by `java --version` .
I added the line `JAVA_HOME=/usr/lib/jvm/java-1.17.0-openjdk-amd64` and now it's working. |
|