在myeclipse中的web项目,启动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: 'tysp.root' = [D:\tomcat\webapps\ROOT] instead of [D:\tomcat\webapps\ROOT.myeclipse.bak] - Choose unique values for the 'webAppRootKey' context-param in your web.xml files!
删除已经部署的老项目D:\tomcat\webapps\ROOT
这个root删 了。
我错了,是少包了少了spring-web.jar org.springframework.web.util.Log4jConfigListener
删项目的 Log4jConfigListener web.xml中的配置
换10啊。
缺少 log4j [u]http://spiritfrog.iteye.com/blog/531099[/u]