JavaShuo
栏目
标签
spring 项目中抛出 in its raw version as part of a circular reference, but has eventually been wrap 异常问题
时间 2021-01-03
标签
spring
java
栏目
Spring
繁體版
原文
原文链接
项目中存在bean自己引用自己的情况,类似如图所示 最终抛出这个异常 百度之后的解决方案在引入的TestService上加@Lazy注解即可搞定。确实也正常了。但是因为之前处理过类似的情况也是自己引用自己,只不过是在方法上加入的是@Transaction 注解,调用初始化也确实没有问题。并未出现如图所示的异常。 最终在AbstractAutowireCapableBeanFactory 中这里
>>阅读原文<<
相关文章
1.
Bean with name 'xxxService' has been injected into other beans [xxxServiceA,xxxServiceB] in its raw
2.
spring 循环注入circular reference 最简单的处理方式
3.
Failed to load ApplicationContext之spring中最常常遇到的问题汇总
4.
spring mybatis circular reference
5.
springboot 异常: Requested bean is currently in creation: Is there an unresolvable circular reference?
6.
spring循环依赖问题分析
7.
eclipse报错:UnsupportVersionError:XX has been compiled by a more recent version of the Java Runtime
8.
Java中异常的抛出问题
9.
Warning: This Python interpreter is in a conda environment, but the environment has not been activat
10.
This Python interpreter is in a conda environment, but the environment has not been activated
更多相关文章...
•
PHP 7 异常
-
PHP 7 新特性
•
Thymeleaf项目实践
-
Thymeleaf 教程
•
IntelliJ IDEA中SpringBoot properties文件不能自动提示问题解决
•
PHP Ajax 跨域问题最佳解决方案
相关标签/搜索
常问问题
version
circular
wrap
reference
raw
抛出
常见问题
异常
出问题
Java
Spring
红包项目实战
Spring教程
PHP教程
spring cloud
注册中心
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
js中 charCodeAt
2.
Android中通过ViewHelper.setTranslationY实现View移动控制(NineOldAndroids开源项目)
3.
【Android】日常记录:BottomNavigationView自定义样式,修改点击后图片
4.
maya 文件检查 ui和数据分离 (一)
5.
eclipse 修改项目的jdk版本
6.
Android InputMethod设置
7.
Simulink中Bus Selector出现很多? ? ?
8.
【Openfire笔记】启动Mac版Openfire时提示“系统偏好设置错误”
9.
AutoPLP在偏好标签中的生产与应用
10.
数据库关闭的四种方式
本站公众号
欢迎关注本站公众号,获取更多信息
相关文章
1.
Bean with name 'xxxService' has been injected into other beans [xxxServiceA,xxxServiceB] in its raw
2.
spring 循环注入circular reference 最简单的处理方式
3.
Failed to load ApplicationContext之spring中最常常遇到的问题汇总
4.
spring mybatis circular reference
5.
springboot 异常: Requested bean is currently in creation: Is there an unresolvable circular reference?
6.
spring循环依赖问题分析
7.
eclipse报错:UnsupportVersionError:XX has been compiled by a more recent version of the Java Runtime
8.
Java中异常的抛出问题
9.
Warning: This Python interpreter is in a conda environment, but the environment has not been activat
10.
This Python interpreter is in a conda environment, but the environment has not been activated
>>更多相关文章<<