org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException
2011-06-02 11:08
316 查看
问题:
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.
解决方法:
手动输入。复制粘贴时,可能粘贴进去乱码了
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.
解决方法:
手动输入。复制粘贴时,可能粘贴进去乱码了
相关文章推荐
- 在 Spring 配置文件中写 Dubbo 标签报错 org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException
- Exception in thread "main" org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Li
- FAQ(37): org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 2 in XML docume
- 错误 org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException 解决办法
- spring装载配置文件失败报错:org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException
- org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 1 in XML document from U
- org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 52 in XML document from
- spring装载配置文件失败报错:org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException
- org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException介绍
- org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException
- org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 2 in XML document from c
- org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException
- Exception in thread "main" org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Li
- org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 23 in XML document from
- org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 12 in XML document from
- org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException
- org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 1 in XML document from class path resource
- org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException
- org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException
- org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML doc