摘要: @ComponentScan 的作用就是根据定义的扫描路径,把符合扫描规则的类装配到spring容器中,注解定义如下。 @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.TYPE}) @Documented @Repeatable(Co 阅读全文
posted @ 2020-03-10 16:37 阿瞒123 阅读(325) 评论(0) 推荐(0) 编辑