1. 程式人生 > >org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: org.apache.

org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: org.apache.

首先我的問題是同一個tomcat下放了2個springboot專案的war,啟動tomcat,報錯,不是同一個問題的,僅供參考。

報錯:

org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start:   org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/shiro]]

在其他springboot專案的配置檔案,yml,或者properties檔案中加一句

spring.jmx.enabled=false

關閉jmx,成功啟動tomcat,具體會帶來什麼問題,待研究。