Exception sending context initialized event to listener instance of class org.springframework.web.util.Log4jConfigListenerjava.lang.IllegalStateException: Web app root system property already set to different value: 'webapp.root' = [E:\Workspaces\xw_hnxj\WebRoot\] instead of [D:\Java\apache-tomcat-6.0.37\webapps\ROOT.myeclipse.bak\] - Choose unique values for the 'webAppRootKey' context-param in your web.xml files!
同时报错PermGen space
解决方法:
异常原因:tomcat启动了两个相似的项目。
解决方法1:删除一个,只部署一个
解决方法2:web.xml中加入--------------------------
<context-param>
<param-name>webAppRootKey</param-name>
<param-value>项目名称</param-value>
</context-param>
同时报错PermGen space
解决方法:
异常原因:tomcat启动了两个相似的项目。
解决方法1:删除一个,只部署一个
解决方法2:web.xml中加入--------------------------
<context-param>
<param-name>webAppRootKey</param-name>
<param-value>项目名称</param-value>
</context-param>