Spring 配置了过滤扫描Bean
按注解过滤
@ComponentScan(value = "com.icemomo" ,excludeFilters =@ComponentScan.Filter(
type = FilterType.ANNOTATION,
classes = Controller.class
))
本文来自博客园,作者:冰莫莫,转载请注明原文链接:https://www.cnblogs.com/icemomo/p/16203106.html

浙公网安备 33010602011771号