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

错误信息:

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)

原因:

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

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

时间: 2024-10-15 23:56:27

java.lang.IllegalArgumentException: addChild: Child name '/SSHE' is not unique的相关文章

Caused by: java.lang.IllegalArgumentException: addChild: Child name &#39;localhost&#39; is not unique

1.错误描述 严重: End event threw exception java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl

Caused by java lang IllegalArgumentException addChild Chi

1.错误描述 严重: End event threw exception java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl

java.lang.IllegalArgumentException: Document base E:\Eclipse\workspace\.metadata\.plugins\org.eclips

1.错误描述 四月 13, 2015 5:56:55 下午 org.apache.catalina.core.AprLifecycleListener init 信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Java\jdk1.7.0_67\bi

tomcat启动报错:java.lang.IllegalArgumentException: Document base D:\apache-tomcat-6.0.45\webapps\activiti-explorer does not exist or is not a readable directory

java.lang.IllegalArgumentException: Document base D:\apache-tomcat-6.0.45\webapps\erp does not exist or is not a readable directory at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:142) at org.apache.catalina.core.Standard

Spring context initialization failed with java.lang.IllegalArgumentException

spring3.x的项目+JDK8 用jetty运行报错,改用JDK6即可 (JDK8下只能运行spring4.0以上的项目) java.lang.IllegalArgumentException at org.springframework.asm.ClassReader.<init>(Unknown Source) at org.springframework.asm.ClassReader.<init>(Unknown Source) at org.springframewo

严重: End event threw exception java.lang.IllegalArgumentException: Can&#39;t convert argument: null

堆栈信息: 2014-6-17 10:33:58 org.apache.tomcat.util.digester.Digester endElement 严重: End event threw exception java.lang.IllegalArgumentException: Can't convert argument: null at org.apache.tomcat.util.IntrospectionUtils.convert(IntrospectionUtils.java:1

java lang IllegalArgumentException MALFORMED jar解析中文报错问题

二月 13, 2015 11:16:51 上午 org.apache.catalina.startup.TldConfig tldScanJarSEVERE: Exception processing JAR at resource path E:\Program Files\apache-tomcat-6.0.20\webapps\jp-center\WEB-INF\lib\jp-page.jar in context /jp-centerjava.lang.IllegalArgumentEx

Hive报错 Failed with exception java.io.IOException:java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: ${system:user.name%7D

报错信息如下 Failed with exception java.io.IOException:java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: ${system:user.name%7D 解决方法: 编辑 hive-site.xml 文件,添加下边的属性 <property> <name>system:java.io.tmpdir<

java.lang.IllegalArgumentException: Illegal character in query at index 261

在BaseFragment中使用了LoadingPage,而LoadingPage的联网加载使用的是AsyncHttpClient.一直报java.lang.IllegalArgumentException: Illegal character in query at index 261解析不成功,改成OkHttp解析即可. 网上有些方法,说先URLEncode再拼接,如果解决不了,换个联网请求方式,试一下.