java.lang.IllegalStateException: Web app root system property already set to different value: 'Portal.root' = [C:\jakarta-tomcat-5.0.30\webapps\Portal\] instead of [C:\jakarta-tomcat-5.0.30\webapps\Poral\] - Choose unique values for the 'webAppRootKey' context-param in your web.xml files! java
解決方法: web
檢查發佈的多個Web應用的web.xml文件,其中是否認義了相同的webAppRootKey, 如:
### app1:
<context-param>
<param-name>webAppRootKey</param-name>
<param-value>app1.root</param-value> <!-- 第一個應用的根 -->
</context-param> tomcat
### app2:
<context-param>
<param-name>webAppRootKey</param-name>
<param-value>app1.root</param-value> <!-- 第二個應用的根 -->
</context-param> app