解决tomcat部署多个虚拟机时报IllegalStateException: Web app root system property already set to 的问题

解决tomcat部署多个虚拟机时报IllegalStateException: Web app root system property already set to 的问题

在web.xml中添加如下节点即可:

<context-param>   
 <param-name>webAppRootKey</param-name>   
  <param-value>E:\work\mysites\ImageSys86\</param-value>
 </context-param>

上一篇:Spring+Maven+Dubbo+MyBatis+Linner+Handlebars—Web开发环境搭建


下一篇:Raising Error Conditions with MySQL SIGNAL / RESIGNAL Statements