Spring Boot: 2.4.2 JDK: AdoptOpenJdk 1.8.0_275
Expected behavior: Excluding tomcat from starter web and including undertow, should start web server without any issue.
Found behaviour: Excluding tomcat from starter web and including undertow, throws class not found org.jboss.logging.Logger.
Additional Notes: Switching to Jetty is working without issue. Adding org.jboss.logging:jboss-logging does not help.
Comment From: wilkinsona
org.jboss.logging:jboss-logging
is a transitive dependency of io.undertow:undertow-core
and should be on the classpath automatically without explicitly declaring a dependency on it. If org.jboss.logging.Logger
isn't on the classpath, it sounds like the jboss-logging
jar file was corrupted when your build system downloaded it. Try clearing it from your build system's cache and rebuilding your application.
If you have any further questions, please follow up on Stack Overflow or Gitter. As mentioned in the guidelines for contributing, we prefer to use GitHub issues only for bugs and enhancements.