转自:
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在一个package下时,Interceptor自身不能出现在被截取得表达式中,比如使用了*
最新推荐文章于 2023-06-05 10:21:11 发布