我的拦截器是这样写的:

但是invocation.invoke()旁边有红叉,提示错误为:invocation cannot be resolved
我jar包如下:

到底是什么原因呢?
struts2, invocation.invoke(), cannot?be?resolved
------解决方案--------------------
楼主你太有才了吧
那个invocation 是传来的参数 actionInvocation 你看看你自己的是什么
------解决方案--------------------
楼上说的对,invocation.invoke()改为arg0.invoke()