要用注解实现自动装备的xml配置文件的添加
使用注解要在xml配置文件中添加
xmlns:context="http://www.springframework.org/schema/contex"
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
<context:annotation-config></context:annotation-config>


浙公网安备 33010602011771号