nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.3: Element 'beans' cannot have

nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.3: Element 'beans' cannot have character [children], because the type's content type is element-only.


出现该错误是因为,spring配置文件初始化时无法解析,可能是配置文件中含有特殊字符,令xml无法解析。


原因是有一些代码我是从网络上直接复制的。




你可能感兴趣的:(spring,exception,xml,网络,character,nested)