注解扫描没有具体到所在的包下: 修改完包后还是这样,后来在请求就莫名其妙的好了,应该是有缓存 <!--自动扫描包名--> <context:component-scan base-package="com.and.com"/> 相关文章: