码迷,mamicode.com
首页 > 其他好文 > 详细

tomcate错误

时间:2017-04-20 11:41:29      阅读:153      评论:0      收藏:0      [点我收藏+]

标签: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下有两个同样的项目,删除重新发布即可

技术分享

tomcate错误

标签:listener   different   property   system   already   

原文地址:http://10264855.blog.51cto.com/10254855/1917444

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!