Xwiki not starting up after successful installation and reboot

Hi,
I just installed xwiki on debian 11 (java 11 jdk).
Everything went through fine as described in the official installation guide.
I then rebooted but after the reboot, I can’t access xwiki on the web anymore (and also not tomcat itself). So it would appear that tomcat does not start (automatically).
Do I have to enable tomcat to start automatically? Is something else amiss?
Thanks

Found the error:

I had a typo in /etc/default/tomcat9 that gave a wrong path to the java installation.

After I corrected that path, xwiki did start up no problems.