合并tomcat服务后,启动报错
严重: Exception sending context initialized event to listener instance of class org.springframework.web.util.Log4jConfigListener
java.lang.IllegalStateException: Web app root system property already set to different value: 'webapp.root' = [/export/wwwroot/YuSheng/] instead of [/export/wwwroot/Yute/] - Choose unique values for the 'webAppRootKey' context-param in your web.xml files!
2011-8-31 14:48:00 org.apache.catalina.core.StandardContext start
严重: Error listenerStart
原因:WEB.XML中没有为工程指定webAppRootKey,造成冲突,可以在每个工程的WEB.XML中加上
<context-param>
<param-name>webAppRootKey</param-name>
<param-value>XXX</param-value>
</context-param>
严重: Exception sending context initialized event to listener instance of class org.springframework.web.util.Log4jConfigListener
java.lang.IllegalStateException: Web app root system property already set to different value: 'webapp.root' = [/export/wwwroot/YuSheng/] instead of [/export/wwwroot/Yute/] - Choose unique values for the 'webAppRootKey' context-param in your web.xml files!
2011-8-31 14:48:00 org.apache.catalina.core.StandardContext start
严重: Error listenerStart
原因:WEB.XML中没有为工程指定webAppRootKey,造成冲突,可以在每个工程的WEB.XML中加上
<context-param>
<param-name>webAppRootKey</param-name>
<param-value>XXX</param-value>
</context-param>