chacha
Results
1
comments of
chacha
看你的报错好像是MBeanServer对象或者下面的mbsInterceptor没有获取到。我这边没有tomcat9的环境,你可以尝试在idea中断点,然后在Evaluate执行下面代码看看对象是否存在 MBeanServer对象: org.apache.tomcat.util.modeler.Registry.getRegistry((Object)null, (Object)null).getMBeanServer(); mbsInterceptor对象: org.apache.tomcat.util.modeler.Registry.getRegistry((Object)null, (Object)null).getMBeanServer().mbsInterceptor 下面是我在tomcat8.x执行的结果 