Could not autowire. No beans of

2020-02-11  本文已影响0人  zh_harry

在Idea的spring工程里,经常会遇到Could not autowire. No beans of 'xxxx' type found的错误提示。但程序的编译和运行都是没有问题的,这个错误提示并不会产生影响。

在idea 中可以正常运行,但是java -jar 脱离idea 会无法注入 mark 一下,有时间再研究!!!!

https://blog.csdn.net/ladymorgana/article/details/89312835

image.png
上一篇 下一篇

猜你喜欢

热点阅读