`
cppmayi
  • 浏览: 24876 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

转:Exception starting filter struts2 Caught exception while loading file struts-d

阅读更多

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

 

Caused by: java.lang.ClassCastException: org.apache.xerces.parsers.XML11Configuration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration

 

解决方法:

a. 先把MyEclipse Hibernate 3.2 Core Lib从BuildPath去掉;

b. 不要重新发布应用, 从发布后的目录复制全部的jar文件到开发工具下项目的WEB-INF\lib目录下, 不要复制其中的xml-apis.jar和xerces-2.6.2.jar.

c. 停止Tomcat, 重新发布应用或者删除发布后的目录下的WEB-INF\lib下的xml-apis.jar和xerces-2.6.2.jar.

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics