异常内容如下:
2010-5-14 9:45:40 org.apache.catalina.core.StandardContext listenerStart
严重: 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' = [F:\JDKandTOMCAT\TOMCAT\Tomcat 6.0\webapps\AVerPortal\] instead of [F:\JDKandTOMCAT\TOMCAT\Tomcat 6.0\webapps\AVerPortalTest\] - Choose unique values for the 'webAppRootKey' context-param in your web.xml files!
原因是两个Web应用的web.xml文件定义了相同的webAppRootKey,解决方法如下:
### app1:
<context-param>
<param-name>webAppRootKey</param-name>
<param-value>app1.root</param-value>
</context-param>
### app2:
<context-param>
<param-name>webAppRootKey</param-name>
<param-value>app2.root</param-value>
</context-param>
分享到:
相关推荐
MAC 下 Web App to native app 的框架.zip,将Web应用程序捆绑到本机OS X应用程序
Appweb是一个嵌入式HTTP Web服务器,主要的设计思路是安全。这是直接集成到客户的应用和设备,便于开发和部署基于Web的应用程序和设备。它迅速( 每秒处理3500多要求)而紧凑 ,其中包括支持动态网页制作,服务器端...
Beginning Django Web App Dev with Python Beginning Django Web App Dev with Python
SystemProperty-Setting-APP Environment: Android Studio / Android 5.0 Description: This app is the system app, which need to be build in android framework or be signed. And this app is the example ...
appweb 嵌入式的web服务器 ,占用的内存空间只有800kb。
Office Web App Server 2013 Installation guide
J2EE web app 3.1 xsd
开放时代从Web_Page到Web_App
Office web app server2013 安装与部署
appweb4.3.4-0添加arm配置及源代码,有相关说明文件
Web App 开发超入门资料
Appweb开Appweb开发指南发指南Appweb开发指南Appweb开发指南Appweb开发指南
修改源码让APP获取root权限可以执行su命令的git diff记录
web-app_2_4.xsd
这是我在appweb和esp源代码的基础上编译遇到文章中所述的问题,修改了一些地方解决问题的appweb和esp源码
solaredge-web-set-app背景支持SolarEdge SetApp的逆变器具有用于调试的集成Web服务器,该服务器还提供状态信息。 该前端主要包含在JavaScript程序中。 如果运行以下命令,将会看到您拥有哪个版本JavaScript程序: ...
When was the last time you visited an app’s mobile web site rather than its native app counterpart? Was it an enjoyable experience? What did you like about it? What could have been better? Possibly ...
web和App测试的区别!web和App测试的区别!web和App测试的区别!web和App测试的区别
Angulr – Bootstrap Admin Web App with AngularJS-v2.2.1 演示地址: http://themeforest.net/item/angulr-bootstrap-admin-web-app-with-angularjs/8437259
利用app_process实现免root调用shell_Java_下载.zip