错误信息:

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

即: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>


相关文章:

  • 2021-06-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-24
  • 2021-09-10
猜你喜欢
  • 2022-01-12
  • 2022-12-23
  • 2022-12-23
  • 2021-06-10
  • 2022-01-23
  • 2022-12-23
  • 2021-10-19
相关资源
相似解决方案