摘要: @Autowired 必须在@Component、@Service等(注册bean)下面使用。 普通的类,可以使用构造器注入,或者setter注入 阅读全文
posted @ 2021-10-29 10:17 米南宫 阅读(126) 评论(0) 推荐(0)