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

请教这个问题关于struts2
项目中遇到一个问题,之前还是正常的,并且配置文件那些并没有修改过,但是再运行的时候就报如下 求解!

严重的: Servlet.service() for servlet [default] in context with path [/WMS] threw exception [Filter execution threw an exception] with root cause

java.lang.NoSuchMethodError: org.apache.struts2.interceptor.StrutsConversionErrorInterceptor.escape(Ljava/lang/Object;)Ljava/lang/String;

------解决方案--------------------
可能是包冲突,多个包都有org.apache.struts2.interceptor.StrutsConversionErrorInterceptor.escape()方法。
------解决方案--------------------
没有struts2-core-2.3.8.jar?还是多一个asm.jar?
------解决方案--------------------
asm.jar 如果有两个就删除一个