tomcat异常Caught exception while loading file struts-default.xml - [unknown location]

遇到两个项目,单独用tomcat启就没事,两个一起启就萎了的情况。


提示异常

严重: Exception starting filter struts2
Caught exception while loading file struts-default.xml - [unknown location]
......

解决方法:

lib包冲突造成的异常。

将其中一个项目中的xerces-2.6.2.jar包删除,或将xml-apis.jar、xerces-2.6.2.jar移到tomcat的lib目录下即可。

你可能感兴趣的:(tomcat异常Caught exception while loading file struts-default.xml - [unknown location])