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