摘要: 相信接触过spring做开发的小伙伴们一定使用过@ComponentScan注解 @ComponentScan("com.wangm.lifecycle") public class AppConfig { } @ComponentScan指定basePackage,将包下的类按照一定规则注册成Be 阅读全文
posted @ 2024-04-24 00:10 小白白白白白白白白白 阅读(125) 评论(0) 推荐(0) 编辑