Spring AOP 循环应用(This means that said other beans do not use the final version of the bean..)
2015-09-14 11:30
1076 查看
在做spring AOP时,总发现
This means that said other beans do not use the final version of the bean. This is often the result of over-eager type matching - consider using 'getBeanNamesOfType' with the 'allowEagerInit' flag turned off, for example.错误
解决:
检查切入点service是否再次注入到了你的AOP实现中.
切入点service是否调用了dao层代码,调用了就不会错出了,否则会出上面你的错误
This means that said other beans do not use the final version of the bean. This is often the result of over-eager type matching - consider using 'getBeanNamesOfType' with the 'allowEagerInit' flag turned off, for example.错误
解决:
检查切入点service是否再次注入到了你的AOP实现中.
切入点service是否调用了dao层代码,调用了就不会错出了,否则会出上面你的错误
相关文章推荐
- Java中的访问修饰符详细解析
- java多线程检测可用IP
- Spring MVC:框架及其组件介绍
- springMVC(13) springMVC和spring上下文关系
- Java中对象序列化与反序列化
- webservice 中根据xml 片段,反转xsd 文件,生成java 对象
- Java中List的排序方法
- java Executor学习与理解
- 使用 Spring 进行单元测试
- spring中的ResourceBundleMessageSourc
- Java NIO 详解(一)
- Java-Timer简单用法
- spring 加载资源文件的两个类ResourceBundleMessageSource和ReloadableResourceBundleMessageSource
- LinkedHashMap深入学习
- Eclipse的自动排版设置(format)
- 启动eclipse时闪退以及android Sdk content loader 0%的问题解决
- Java路径问题最终解决方案 1
- 深入理解Java:内省(Introspector)
- 关于JavaService的相关技术文档链接
- testng 工程报错java.net.SocketException