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.
eclipse設置粘貼字符串自動轉義
2.
android客戶端學習-啓動模擬器異常Emulator: failed to initialize HAX: Invalid argument
3.
android.view.InflateException: class com.jpardogo.listbuddies.lib.views.ListBuddiesLayout問題
4.
MYSQL8.0數據庫恢復 MYSQL8.0ibd數據恢復 MYSQL8.0恢復數據庫
5.
你本是一個肉體,是什麼驅使你前行【1】
6.
2018.04.30
7.
2018.04.30
8.
你本是一個肉體,是什麼驅使你前行【3】
9.
你本是一個肉體,是什麼驅使你前行【2】
10.
【資訊】LocalBitcoins達到每週交易比特幣的7年低點
本站公眾號
歡迎關注本站公眾號,獲取更多信息
相關文章
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
>>更多相關文章<<