先是Action中注入的service总为空。
由于applicationContext.xml中beanId与struts.xml中action的class名要保持一致
再是struts.xml的解析错误,找不到action
由于建工程的时候少加了struts2-spring-plugin-2.x.x.jar包
参考:
http://ajuanlove.iteye.com/blog/1547497
http://bbs.youkuaiyun.com/topics/360126566的四楼
http://www.xuebuyuan.com/1731343.html
http://www.cnblogs.com/jennybackup/archive/2011/05/31/2064904.html