spring 配置作用
spring <context:annotation-config /> 配置作用1、从字面意思来理解就是 “注解配置” ,使用<context:annotation-config/>元素可以自动声明“2”中的注解2、替代了原来繁琐的配置,繁琐的配置如下: 配置<bean class="org.springframework.beans.factory.annotation. Autowired