Springs Element 'beans' cannot have character [children], because the type's content type is element-only

Springs Element 'beans' cannot have character [children], because the type's content type is element-only

在使用spring中时候,配置ApplicationContext.xml时候报错

  网上解决办法

一.将http://www.springframework.org/schema/context此二句删除重写即可.
    http://www.springframework.org/schema/context/spring-beans-4.1.xsd

二.还是删除错误行重写,或粘到word后试试.

三.哎,我是第三种,复制后没有将">这两个符号下移,所以...唉!

上一篇:linux系统免密码登陆


下一篇:【LeetCode】Validate Binary Search Tree ——合法二叉树