<?xml version="1.0" encoding="UTF-8"?>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd">
context:annotation-config/
<!-- bean definitions go here
-->
<!-- 获取 db.properties数据库配置信息-->
classpath:db.properties
<!-- bean definitions go here
-->
为什么将下边的标签注释掉会找不到注解的类。
context:annotation-config/标签是不是不能把在标签的类注入的IOC容器中