Adding an implementation of javax.servlet.ServletContainerInitializer to logback-classic would solve this problem.