首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > J2EE开发 >

struts2的拦截器invocation.invoke()旁边有红叉 提示异常为invocation cannot be resolved

2013-07-08 
struts2的拦截器invocation.invoke()旁边有红叉 提示错误为invocation cannot be resolved我的拦截器是这

struts2的拦截器invocation.invoke()旁边有红叉 提示错误为invocation cannot be resolved;
我的拦截器是这样写的:
struts2的拦截器invocation.invoke()旁边有红叉 提示异常为invocation cannot be resolved

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

我jar包如下:
struts2的拦截器invocation.invoke()旁边有红叉 提示异常为invocation cannot be resolved

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

热点排行