当前位置: 代码迷 >> J2EE >> 请问这个有关问题关于struts2
  详细解决方案

请问这个有关问题关于struts2

热度:105   发布时间:2016-04-21 23:44:51.0
请教这个问题关于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 如果有两个就删除一个
  相关解决方案