nested exception is java.lang.IllegalArgumentException: @ComponentScan ANNOTATION type filter requires an annotation type: class java.security.Provider$Service的错误
今天在实验@ComponentScan注解的 excludeFilters的时候出现了一个错误
该属性是@Controller 和@Service注解将不在进行spring容器注册.
该错误是Service.class 包导入错误导致