开发者社区 问答 正文

ssh项目运行不了,报错?报错

书上一个ssh项目,运行不了,报错,请问一下,问题出在哪里,google表示要删除xerces.jar 但web-inf 的lib文件夹下没有xerces.jar

严重: Exception starting filter struts2

Unable to load configuration. - [unknown location]
Caused by: Caught exception while loading file struts-default.xml

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

google表示,删除xerces-2.62.jar
但项目中,这里有xerces.jar

在web-inf 的lib文件夹中,找不到xerces.jar




展开
收起
爱吃鱼的程序员 2020-06-22 22:56:10 427 分享 版权
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    初步认为是Struts2配置文件有问题~

    struts配置文件问题 struts配置文件问题,具体问题具体分析。配置文件写错了吧,赶紧查一下吧。
    2020-06-22 22:56:29
    赞同 展开评论
问答分类:
问答标签:
问答地址: