您的位置:首页 > 编程语言 > Java开发

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层代码,调用了就不会错出了,否则会出上面你的错误
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: