java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory

The above error message shows up due to tomcat-juli.jar being unavailable.

Add it to your classpath.

It is also available on Enterprise Linux 9 as the package tomcat-libs (like Red Hat Enterprise Linux RHEL9, AlmaLinux 9, RockyLinux 9, Oracle Linux ). The package was part of the EPEL repo. As of 9.2, it is available in the AppStream Repo.

Note that the file is in the /usr/share/tomcat/bin folder and there is no symlink to the Java classpath folder /usr/share/java. So you have to link it yourself.

There is RedHat Bugzilla 2188218 open to mitigate this: