Could not autowire. No beans of
springboot吧
全部回复
仅看楼主
level 4
有人知道这是个错误怎么解决呀,这是在一个test类里,在编译的时候也会报错,百度到的方法都是光报错可编译的。[泪][泪]
2020年11月30日 13点11分 1
level 7
类没注入
2020年12月01日 13点12分 2
怎么注入呀[小乖][小乖]
2020年12月01日 14点12分
放到spring扫描的包中
2020年12月02日 02点12分
level 1
2020年12月02日 09点12分 3
level 1
2020年12月02日 09点12分 4
1