context:include-filter无效的解释及解决
<context:component-scan base-package="wanben.demo" > <context:include-filter type="annotation" expression="org.springframework.stereotype.Controller"/> </context:component-scan>如果是上面这么配置,那么在过滤之前它就已经扫描了base-package下所有的注解了的类,不
原创
2020-10-15 11:16:23 ·
660 阅读 ·
1 评论