spring 4.0 不再支持ref local标签
来源:互联网 发布:java爬虫爬取图片 编辑:程序博客网 时间:2024/05/29 13:05
今天配置bean时顺手写了
<ref local="xxxxx">
结果报错,attribute local is not allowed here
感到很奇怪,看了一下,spring 4.0不再支持 ref local 了。
如果想继续使用的话将xsd 指向 3.2,
xsi:schemaLocation=”http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd“>
当然官方推荐 使用
<ref bean="xxxxx">
The local attribute on the ref element is no longer supported in the 4.0 beans xsd since it does not provide value over a regular bean reference anymore. Simply change your existing ref local references to ref bean when upgrading to the 4.0 schema.
地址:http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/
0 0
- spring 4.0 不再支持ref local标签
- Spring的ref bean和ref local
- spring中的ref标签
- Spring中ref local与ref bean区别
- Spring中ref local与ref bean区别
- 转:Spring中ref local与ref bean区别
- Spring中ref local与ref bean区别
- Spring中ref local与ref bean区别:
- Spring中ref local与ref bean区别
- Spring中ref local与ref bean区别
- [转]Spring中ref local与ref bean区别
- Spring中ref local与ref bean区别
- Spring中ref local与ref bean区别
- Spring中ref local与ref bean区别:
- Spring中<ref local=""/>与<ref bean=""/>区别
- Spring中<ref local=""/>与<ref bean=""/>区别
- Spring中ref local与ref bean区别
- Spring中ref local与ref bean区别
- VS2008创建项目
- node authentication
- 2016年最新苹果开发者账号注册申请流程最强详解!
- Make your Spring Security @Secured annotations more DRY
- JavaScript 中对变量和函数声明的“提前”
- spring 4.0 不再支持ref local标签
- Linux inotify功能及实现原理
- UVA_10245_ The Closest Pair Problem
- 在JS中如果函数名与变量名冲突,JS是怎么执行的?
- GET,POST,PUT,DELETE的区别
- Ubuntu Mate +Apache2 配置www服务的一些相关
- Android控件之ScrollView(滑动控件)探究
- java中序列化和反序列化
- JAVA静态