@resource 能够使用name属性区分两个同type 不同className的类 autowire不能
autowire有必选属性 如果没有这个属性编译会报错
Spring.xml配置
xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.0.xsd”
这样才能完成配置一个 两者不可缺少(包括那种什么什么strict也是这个错误)