项目报错:java web error:Choose unique values for the 'webAppRootKey' context-param in your web.xml files
当在Tomcat下部署多个项目并且都使用了Log4j。如果没有定义webAppRootKey,会造成项目冲突,会报错Choose unique values for the 'webAppRootKey' context-param in your web.xml files解决方法:在web.xml中log4jConfiguration的下面配置一下内容即可
复制链接