在spring中使用注解方式时需要在spring配置文件中配置组件扫描器:http://blog.csdn.net/j080624/article/details/56277315
<context:component-scan>详解:http://outofmemory.cn/java/spring/spring-DI-with-annotation-context-component-scan
原文地址:https://www.cnblogs.com/jeryM/p/8427366.html
时间: 2024-12-10 16:56:29