在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
在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