Interceptor和它要截取得class在一个package下时,Interceptor自身不能出现在被截取得表达式中,比如使用了*
2004-11-05 14:26
501 查看
转自:
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
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
相关文章推荐
- java工程项目里,在一个包里面,不能出现同名的类名,这问题是刚接触java才会遇到的,特别是新手一般都没有建立包,而是使用默认的,易出现同名的类名,导致eclipse提示错误
- Java编写一个截取字符串的函数,输入一个为字符串和字节数,输出按字节截取的字符串。要求不能出现截半的情况
- myEclipe的一个bug 缺少引用的包时出现不能生成编译后的class文件的解决办法
- 面试题之java 编写一个截取字符串的函数,输入为一个字符串和字节数,输出为按字节截取的字符串。 要求不能出现截半的情况
- 出现“MSCOMCTL.OCX或其附件之一不能正确使用:一个文件丢失或无效或'comctl32.ocx'其附件之一不能正确使用:一个文件丢失或无效”的提示的解决办法
- Maven使用package打包Spring Boot时出现:Unable to find a single main class from the following candidates的问题解决
- 在java中使用正则表达式,截取重复出现的XML字符串
- 问题: 在eclipse里使用ctr+shift+t打开一个类的时候,出现错误:Class file name must end with .class
- 使用Eclipse发布一个依赖于其他项目的java项目,被依赖的项目不能自动编译,因而引发notfoundClass的异常。
- 使用JSTL出现表达式不能解析的解决方法
- 使用正则表达式和replace替换一个字符串中截取的一字符串
- java 使用正则表达式统计一个字符串中子字符串出现次数
- Java使用正则表达式截取重复出现的XML字符串功能示例
- 10、 java 编写一个截取字符串的函数,输入为一个字符串和字节数,输出为按字节截取的字符串。 要求不能出现截半的情况
- 写一个函数, 2个参数, 1个字符串, 1个字节数,返回截取的字符串,要 求字符串中的中文不能出现乱码: 如 ( “ 我ABC”, 4) 应该截为 “ 我AB”,输入( “ 我 ABC汉DEF”, 6
- 写一个函数,2 个参数,1 个字符串,1 个字节数,返回截取的字符串,要 求字符串中的中文不能出现乱码
- Win7 使用virtualbox安装centos虚拟机出现“不能为虚拟电脑 centos7 打开一个新任务.”的解决办法。
- 截取一个中英文混合的字符串,不能出现截取半个汉字的问题
- 10、 java 编写一个截取字符串的函数,输入为一个字符串和字节数,输出为按字节截取的字符串。 要求不能出现截半的情况
- java工程项目里,在一个包里面,不能出现同名的类名,这问题是刚接触java才会遇到的,特别是新手一般都没有建立包,而是使用默认的,易出现同名的类名,导致eclipse提示错误