今天在升级SSH的时候,出现了个错误,错误如下
Line: 64 -org/apache/struts2/convention/SEOActionNameBuilder.java:64:-1
.........
Caused by: java.lang.IllegalStateException: The action name cannot be the same as the action suffix [Action]
出现错误的原因大概有以下2种
第一种可能:action继承ActionSupport的时候导入了spring的ActionSupport,改成import com.opensymphony.xwork2.ActionSupport;就可以了。详情请参考
http://blog.csdn.net/heng_ji/article/details/7242909
第二种原因:可能是因为struts-convention-plugin.jar的原因。详情请参考
http://blog.csdn.net/frank_softworks/article/details/6671570