错误信息:

Caused by: java.lang.IllegalArgumentException: addChild:  Child name '/SSHE' is not unique
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:887)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)

原因:

java.lang.IllegalArgumentException: addChild:  Child name '/SSHE' is not unique-LMLPHP

即:tomcat的/config/server.xml中配置了两个相同的项目如下:

<Context path="/SSHE" docBase="E:\SSHE"  debug="5" reloadable="true" crossContext="true">
</Context> <Context path="/SSHE" docBase="F:\SSHE" debug="5" reloadable="true" crossContext="true">
</Context>
04-28 21:53