日期:2014-05-18  浏览次数:20636 次

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里面的