1.报错 Struts2 Problem-java.lang.NoSuchMethodException: com.opensymphony.xwork2.ActionSupport.index() 原因:加载了rest的相关包,删掉即可。