【急】关于struts2 注解 @Interceptor的问题
java吧
全部回复
仅看楼主
level 9
ipromisecc 楼主
Caused by: Unable to find interceptor class referenced by ref-name goodsLoginIner
此问题已困扰我一天了,网上好多方法都已试过,望大神来解脱本屌丝 。小弟不胜感激!
【楼下贴代码】
2014年12月26日 08点12分 1
level 9
ipromisecc 楼主
错误信息如下:
2014年12月26日 08点12分 2
level 9
ipromisecc 楼主
struts.xml 拦截器配置如下:
2014年12月26日 08点12分 3
level 9
ipromisecc 楼主
action中代码:
2014年12月26日 08点12分 4
level 9
ipromisecc 楼主
描述 : 如果我不在action中使用@interceptorRef ,tomcat启动就不会报错,struts.xml文件也加载了。 如果我使用了拦截器的注解, 启动项目的时候就报错(如上图),找不到这个拦截器的引用。
2014年12月26日 08点12分 5
level 9
ipromisecc 楼主
此问题从早上就困扰我到现在,网上好多方法都没有用, 项目进度一下子就拉下来了[不高兴], 第一次用struts注解方式。
2014年12月26日 08点12分 6
level 9
ipromisecc 楼主
万能的吧友, 救救我吧~~~~[泪]~
2014年12月26日 08点12分 7
level 1
楼主有解决没?我也遇到了这个问题~~~求解答~~
2015年12月23日 06点12分 8
level 1
我也遇到了和楼主一样的问题……楼主是怎么解决的……包和语法都没错,就是启动有错,struts.xml配置也没错!
2016年06月07日 11点06分 9
1