spring boot 注释了@Component 之后,可以用构造函数传递参数,但是@Autowired 自动失效

NoSuchKey

猜你喜欢

转载自blog.csdn.net/xocom/article/details/82867357