您的位置:首页 > 其它

Interceptor和它要截取得class在一个package下时,Interceptor自身不能出现在被截取得表达式中,比如使用了*

2004-11-05 14:26 441 查看
转自:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=51690

You are getting the error because the Interceptor is in the same package expression as the class you are trying to intercept. Thus, you have an infinite loop.

Put your interceptors in another package that doesn't match your wildcard.

Bill
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  interceptor class
相关文章推荐