解决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>