org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException

来源:互联网 发布:windows组管理策略 编辑:程序博客网 时间:2024/05/26 09:55

问题:

org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 32 in XML document from class path resource [security-context.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.3: Element 'beans:beans' cannot have character [children], because the type's content type is element-only.

解决方法:

手动输入。复制粘贴时,可能粘贴进去乱码了

原创粉丝点击