开发者社区> 问答> 正文

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 419 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

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

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

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载