Spring 配置bean的constructor-arg 没有name属性 spring 项目中bean的constructor-arg标签 不显示name属性 报错截图 问题说明:上截图中 spring-beans-2.5.xsd 的写的版本号为2.5,吧修改成4.0问题即可解决。