错误类型:cvc-complex-type-2-3
来源:互联网 发布:淘宝抢购怎样抢的快 编辑:程序博客网 时间:2024/06/05 18:22
该错误的类型如下:
cvc-complex-type-2-3
Element ''{0}'' cannot have character [children], because the type''s content type is element-only.
在XML中是一般来说是不允许一些字符作为定义外的元素存在的,要不然就会报如下的类似错误了:
Caused by: org.xml.sax.SAXParseException; lineNumber: 83; columnNumber: 9; cvc-complex-type.2.3: Element 'beans' cannot have character [children], because the type's content type is element-only.at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Unknown Source)at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown Source)at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source)at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.elementLocallyValidComplexType(Unknown Source)at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.elementLocallyValidType(Unknown Source)at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.processElementContent(Unknown Source)at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleEndElement(Unknown Source)at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.endElement(Unknown Source)at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)... 22 more
咱就是在删除注解的时候,没有删干净,最后挂了。
0 1
- 错误类型:cvc-complex-type-2-3
- cvc-complex-type.2.4.a错误解决方法
- cvc-complex-type.2.4.a错误解决方法
- Dubbo cvc-complex-type.2.4.c 错误
- Spring出现 cvc-complex-type.2.4.c错误
- cvc-complex-type.2.4.c 错误的修改
- 【cvc-complex-type.2.4.a】Spring的xml解析错误
- Dubbo cvc-complex-type.2.4.c 错误,dubbo.xsd
- Dubbo cvc-complex-type.2.4.c 错误,dubbo.xsd
- cvc-complex-type.2.4.c
- servlet-class :cvc-complex-type.2.4.a
- cvc-complex-type.2.4.c 如何解决
- SAXParseException: cvc-complex-type.2.4.c
- cvc-complex-type.2.4.c: 问题解决
- cvc-complex-type.2.4.a: Invalid content was found starting with element 'taglib'错误
- “cvc-complex-type.2.4.a: Invalid content was found starting with element 'taglib'”错误的解决办法
- cvc-complex-type.2.4.a: Invalid content was found starting with element 'taglib'错误
- cvc-complex-type.2.4.a: Invalid content was found starting with element 'taglib'错误
- C++ 类设计的五项基本原则
- android apk互调
- js小数计算小数点后显示多位小数
- 浙大 PAT 1019. General Palindromic Number (20)
- Latex之自动转为Word (Ubuntu)
- 错误类型:cvc-complex-type-2-3
- PHP register_shutdown_function函数使用
- 我的第八课:【设计模式】====原型模式
- Struts2标签获得action中传过来的值
- 转载_gdb core调试
- 一.2
- 常见的十种排序算法归纳总结
- Linux查找包含特定字符串的文件
- 向量中断和非向量中断