首页 > 代码库 > 关于启动tomcat 找不到 No bean named '*****' is defined

关于启动tomcat 找不到 No bean named '*****' is defined

 <!-- 扫描com包下的所有子类 不包含@controller -->
 <context:component-scan base-package="com">
   <!-- exclude排除 -->
  <context:exclude-filter type="annotation" expression="org.springframework.stereotype.Controller"/>
 </context:component-scan>

关于启动tomcat 找不到 No bean named '*****' is defined