1.問題所在:
通過翻譯大家都知道現在這個錯誤的意思呢是"未滿足的依賴異常",沒錯問題就是在依賴沒有滿足,問題呢就在這裏
當需要把一個帶參數的方法變成一個bean對象的時候需要加上我註釋掉的那個註解才能成功
2.解決方案:
org.springframework.beans.factory.UnsatisfiedDependencyException
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
spring-boot Redis 加載redisTemplate時報錯com.example.demo1.dao.RedisDao required a bean of type
南方张大大
2020-07-03 13:01:58
Python報錯ERROR: Command errored out with exit status 1: 解決方法:
南浔丿
2020-06-14 22:20:35
那些年小程序留下的坑——wx.saveFile報錯:saveFile:fail exceeded the maximum size of the file storage limit 10M
南浔丿
2020-06-14 22:20:24
多線程 快速報錯 安全報錯
南方张大大
2018-12-07 16:54:01
out/target/common/obj/APPS/framework-res_intermediates/src/R.stamp
axin003
2018-09-03 20:24:22
No rule to make target `out/target/common/obj/APPS/framework-res_intermediates/src/R.stamp
axin003
2018-09-03 20:24:22
Cocoapods無法搜索到最新的SDK
Sarah106
2018-09-01 22:43:38
iTunes Connect 上傳APP報錯: Communication error. please use diagnostic mode to check connectivity.
Sarah106
2018-09-01 22:43:33
連接超時:連接。如果你在一個HTTP代理,請配置IDE或Gradle代理設置
暴走哥丶AS
2018-09-01 02:17:00