标签:实现 with .com http org 技术分享 bean ges exclude
<!-- 扫描包,加载service实现类 -->
<context:component-scan base-package="com.taotao.search.service">
//排除controller即可
<context:exclude-filter type="annotation" expression="org.springframework.stereotype.Controller"/>
</context:component-scan>
启动时候报错由于没有扫包 error creating bean with name
标签:实现 with .com http org 技术分享 bean ges exclude
原文地址:http://www.cnblogs.com/xiaohouzai/p/6942474.html