标签:listener different property system already
017-4-19 16:16:29 org.apache.catalina.core.StandardContext listenerStart
严重: 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: ‘SpringMVC.root‘ = [D:\apache-tomcat-6.0\webapps\cdm\] instead of [D:\apache-tomcat-6.0\webapps\cdm.myeclipse.bak\] - Choose unique values for the ‘webAppRootKey‘ context-param in your web.xml files!
at org.springframework.web.util.WebUtils.setWebAppRootSystemProperty(WebUtils.java:151)
at org.springframework.web.util.Log4jWebConfigurer.initLogging(Log4jWebConfigurer.java:116)
at org.springframework.web.util.Log4jConfigListener.contextInitialized(Log4jConfigListener.java:45
原因是tomcat的webapps下有两个同样的项目,删除重新发布即可
标签:listener different property system already
原文地址:http://10264855.blog.51cto.com/10254855/1917444