A component required a bean named xxx that could not be found. Action: Consider defining


0 環境

系統:win10

1 正文

https://stackoverflow.com/questions/44474367/field-in-com-xxx-required-a-bean-of-type-that-could-not-be-found

沒有解決我的問題 搜了其他人的解釋 說是包錯誤什么的 我看了一下 包沒有問題 那就是bean錯誤 debug了一下 發現我直接copy的類名(類如User) 開頭小寫即可(user)

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM