Created attachment 37496 [details] code to reproduce We are using the embedded-tomcat with a spring-boot application and enabled the JMXProxyServlet to get access to the JMX values. When we enabled it we got a java.lang.ClassNotFoundException: org.apache.catalina.tribes.util.StringManager so it looks like not all dependencies are included in the embedded tomcat that are needed for the JMXProxyServlet
only used dependencies are in pom.xml <dependencies> <dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-core</artifactId> <version>9.0.38</version> </dependency> <dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-el</artifactId> <version>9.0.38</version> </dependency> <dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-jasper</artifactId> <version>9.0.38</version> </dependency> </dependencies>
That is a bug in JMXProxyServlet. It is importing from the wrong package. I'll fix that shortly.
Fixed in: - 10.0.x for 10.0.0-M10 onwards - 9.0.x for 9.0.40 onwards - 8.5.x for 8.5.60 onwards - 7.0.x for 7.0.107 onwards