当前位置: 代码迷 >> J2EE >> Struts2跟Spring集成时org.springframework.web.struts.ActionSupport出错
  详细解决方案

Struts2跟Spring集成时org.springframework.web.struts.ActionSupport出错

热度:87   发布时间:2016-04-21 23:19:39.0
Struts2和Spring集成时org.springframework.web.struts.ActionSupport出错

报错:The type org.apache.struts.action.Action cannot be resolved. It is indirectly referenced from required .class files

我添加的jar包如下:



求大虾指点迷津

------解决方案--------------------
哥们我觉得你一次性导入这么多jar包,可能会存在很多兼容问题。
建议:你需要什么包,再加入缺少包,可以避免很多问题!
------解决方案--------------------
ActionSupport引用spring中的呢?应该是xwork.jar里面的
  相关解决方案