首页 > 其他 > 详细

Exception sending context initialized event to listener instance of class

时间:2014-07-09 12:37:06      阅读:497      评论:0      收藏:0      [点我收藏+]

1、错误描述

严重: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:‘com.you.yhd.webapp.root‘ = [D:\myeclipse\Tomcat6.0\webapps\ROOT\] instead of [ D:\myeclipse\Tomcat6.0\webapps\ROOT.myeclipse.bak\] -Choose unique values for the ‘webAppRootKey‘ context-param in your web.xml files!


2、错误原因

     Tomcat中部署了多个项目,并且ROOT.myeclipse.bak是一个项目,后来又添加一个项目,导致两个项目中的web.xml参数不一样


3、解决办法

     删除不需要部署的项目,保证Tomcat每次只执行一个项目

Exception sending context initialized event to listener instance of class,布布扣,bubuko.com

Exception sending context initialized event to listener instance of class

原文:http://blog.csdn.net/you23hai45/article/details/37576773

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!