Spring Boot@Component注解下的类无法@Autowired的问题

链接地址:https://blog.csdn.net/weixin_38950807/article/details/93709887

亲测可用!!!

我的情况是直接通过postMan可以调用,但是在其他项目中调用的话就无法注入,是null

猜你喜欢

转载自www.cnblogs.com/wxm-bk/p/11765669.html