spring和springboot常用注解说明 1、@ComponentScan 定义扫描包,注入到容器中 2、@Filter 过滤注入容器中的bean 3、@Import 导入一个配置bean,注入到容器中