启动时候报错由于没有扫包 error creating bean with name
<!-- 扫描包,加载service实现类 -->
<context:component-scan base-package="com.taotao.search.service">
//排除controller即可
<context:exclude-filter type="annotation" expression="org.springframework.stereotype.Controller"/>
</context:component-scan>