程序启动时报'webapp.root' =....Choose unique values for the 'webAppRootKey' context-param in your web.xml
来源:互联网 发布:手机淘宝查看申请售后 编辑:程序博客网 时间:2024/06/06 17:08
在项目重新启动的时候报错
严重: 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中配置过了路径就会冲突。
我的问题就是这样希望对你们有帮助。
1 0
- 程序启动时报'webapp.root' =....Choose unique values for the 'webAppRootKey' context-param in your web.xml
- java web error:Choose unique values for the 'webAppRootKey' context-param in your web.xml files
- java web error:Choose unique values for the 'webAppRootKey' context-param in your web.xml files
- Choose unique values for the 'webAppRootKey' context-param in your web.xml files!
- Choose unique values for the 'webAppRootKey' context-param in your web.xml files 解决办法
- 项目报错:java web error:Choose unique values for the 'webAppRootKey' context-param in your web.xml files
- 多个项目部署到一个tomcat下面报错:Choose unique values for the 'webAppRootKey' context-param in your web.xml files
- tomcat下部署了多个项目启动报错java web error:Choose unique values for the 'webAppRootKey' context-param in your
- tomcat下部署了多个项目启动报错java web error:Choose unique values for the 'webAppRootKey' context-param in your
- web.xml之<context-param>、<init-param>
- web.xml;context-param;init-param
- Web.xml解读 <context-param>
- Web.xml配置context-param
- web.xml 配置-context-param
- Web.xml配置详解之context-param
- Web.xml配置详解之context-param
- Web.xml配置详解之context-param
- Web.xml配置详解之context-param
- 数字后端之我见
- Android中热修复框架Robust原理解析+并将框架代码从"闭源"变成"开源"(下篇)
- 第一章 Html的基本标签
- SSH框架中action和jsp之间的是如何工作的,深入研究(持续更新中)
- ChromeDriver版本差异
- 程序启动时报'webapp.root' =....Choose unique values for the 'webAppRootKey' context-param in your web.xml
- 第二章 表格基础
- 基于深度学习的人脸识别系统系列(Caffe+OpenCV+Dlib)——【三】使用Caffe的MemoryData层与VGG网络模型提取Mat的特征
- Sikuli-Script使用
- Redis字符串类型的操作
- Unity NGUI中动态添加和删除sprite(附上转载者注释)
- 第三章 表单和框架
- 用chrome浏览器看大华录像机
- 5.8 Swift函数类型