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后试试.

 

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

posted @ 2017-03-10 21:06  l_青铜_l  阅读(244)  评论(0编辑  收藏  举报