1、升级的jar包(根据项目调整,将老jar包删掉,最后2个是必须)
2、 UeditorStrutsFilter改为extends StrutsPrepareAndExecuteFilter
//调整前
import org.apache.struts2.dispatcher.FilterDispatcher;
public class UeditorStrutsFilter extends FilterDispatcher{}
//调整后
import org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter;
public class UeditorStrutsFilter extends StrutsPrepareAndExecuteFilter{}
3、web.xml中修改struts2-cleanup
struts2-cleanup org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter
4、将struts下的xml,2.0改为2.5
5、 package中添加 strict-method-invocation="false"
6、搞定了。如果运行没问题,首页访问404,一般为 第5步未添加strict-method-invocation="false"



