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