tomcat 部署多个项目报错问题 发现是默认多个项目的log4j配置冲突,需要在web.xml中配置,其中webName改为项目名,或者任意名字,不冲突即可 webAppRootKey webName.root 链接: 参考.