reading online and asking around it seems the issue was this file: /opt/tomcat10/webapps/name_of_/WEB-INF/lib/log4j-slf4j2-impl-2.21.1.jar after deletion it started.