配置:JDK:1.7spring:4.0.0
代码:
<ref local="user"/>
错误提示:
Attribute ‘local’ is not allowed to appear in element ‘ref’.
改正:
使用bean属性代替local
<ref bean="user"/>
原因:
spring4以后的版本不支持local属性
配置:JDK:1.7spring:4.0.0
代码:
<ref local="user"/>
错误提示:
Attribute ‘local’ is not allowed to appear in element ‘ref’.
改正:
使用bean属性代替local
<ref bean="user"/>
原因:
spring4以后的版本不支持local属性