在项目重新启动的时候报错
严重: 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: 'webapp.root' = [...对应类方法...] - Choose unique values for the 'webAppRootKey' context-param in your web.xml files!
我上网找了好多解决方法,都说是web.xml里的配置重复
<context-param>
<param-name>webAppRootKey</param-name>
<param-value>webapp.root1</param-value>
</context-param>
然后我就改root1位其他任何代码都不行,怎么改都报错后来我右键任务栏启动任务管理器把所有java程序都关掉,还是不行,最后关机重启也不行
后来我知道了,如果是你同时把其他的项目也给配置在服务器上就会报错,其实这个问题就是不要把多个项目同时配置上,要不然你本来在service.xml中配置过了路径就会冲突。
我的问题就是这样希望对你们有帮助。