现在的位置: 首页 > 综合 > 正文

Caught exception while loading file struts-default.xml

2016年11月27日 ⁄ 综合 ⁄ 共 774字 ⁄ 字号 评论关闭

严重: Exception starting filter Struts2

Caused by: Caught exception while loading file struts-default.xml - [unknown location]
at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:894)

at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:144)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:111)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:164)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)

 

解决方法:

移除项目目录中的xerces.jar

there was a conflict between tomcat's internal XML parser and the xerces I was using inside my project.

 

 

抱歉!评论已关闭.