<context:component-scan base-package="cn.rock">
<context:exclude-filter type="annotation" expression="org.springframework.stereotype.Component"></context:exclude-filter>
</context:component-scan>
Why can't the DispatcherServlet load the @Controller class in Spring MVC config according to the above configuration?