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

本秂侑毒 提交于 2021-01-28 11:59:59

问题


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

facing this problem when replacing existing .war files by enable and disable smal single sign on with in tomcat webapps folder i am using apache-tomcat-7.0.53


回答1:


Based on the symptoms, I suspect that you have somehow managed to deploy x.war twice.

I suspect that either you explicitly did this (i.e. you did deploy / deploy instead of deploy / redeploy) or your "automatic process" did it.

If this is not the problem, you are going to need to provide more detailed information on what you are doing, and how you are doing it.




回答2:


I think you are setting in apache-tomcat-7.0.70\conf\server.xmlwith content

<Context docBase="xxx" path="/" />

It is duplicate with the other Context




回答3:


I think you maybe set apache-tomcat-7.0.70\conf\server.xml with Host

< HOST name='/' .../>, and it has other one which is duplicated



来源:https://stackoverflow.com/questions/27376826/java-lang-illegalargumentexception-addchild-child-name-is-not-unique

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!