Loading

Spring 配置了过滤扫描Bean

按注解过滤

@ComponentScan(value = "com.icemomo" ,excludeFilters =@ComponentScan.Filter(
        type = FilterType.ANNOTATION,
        classes = Controller.class
))
posted @ 2022-04-28 15:39  冰莫莫  阅读(50)  评论(0编辑  收藏  举报