Error parsing XML. org.xml.sax.SAXParseException: Element type "sqlMapConfig" must be declared出错解决方法
2009-10-10 17:34
1116 查看
ibatis出现这个错误需要把头部
改为
<!DOCTYPE sqlMapConfig PUBLIC "-//ibatis.apache.org//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-config-2.dtd">
改为
<!DOCTYPE sqlMapConfig PUBLIC "-//ibatis.apache.org//DTD SQL Map Config 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-config-2.dtd">
相关文章推荐
- Error parsing XML. org.xml.sax.SAXParseException: Element type "sqlMapConfig" must be declared出错解决方法
- Error parsing XML. org.xml.sax.SAXParseException: Element type "sqlMapConfig" must be declared出错解决方法
- org.xml.sax.SAXParseException: Attribute "colum" must be declared for element type "result".
- org.xml.sax.SAXParseException: Element type "beans" must be followed by either attribute specifications, ">" or "/>".
- "org.xml.sax.SAXParseException: The content of element type "class" must match" 异常解决
- org.xml.sax.SAXParseException The content of element type "package" must match "(result-types?,inter
- xml解析org.xml.sax.SAXParseException: The element type "comment" must
- org.xml.sax.SAXParseException: The markup in the document following the root element must be well-fo
- org.xml.sax.SAXParseException: Document root element "beans", must match DOCTYPE root "null".
- org.xml.sax.SAXParseException: Document root element "struts-config", must match
- WebService org.xml.sax.SAXParseException: Document root element "beans",must match DOCTYPE root "nul
- Caused by: org.xml.sax.SAXParseException; systemId: file:/home/hadoop/hive-0.12.0/conf/hive-site.xml; lineNumber: 5; columnNumber: 2; The markup in the document following the root element must be well
- Caused by: org.xml.sax.SAXParseException: The prefix "aop" for element "aop:config" is not bound
- org.xml.sax.SAXParseException: Document root element "beans", must match DOCTYPE root "null".
- mybatis-config.xml:报SAXParseException: The content of element type "configuration" must match
- org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-fo
- org.xml.sax.SAXParseException: The content of element type "configuration" must match
- Spring如何加载XSD文件(org.xml.sax.SAXParseException: Failed to read schema document错误的解决方法)
- Spring如何加载XSD文件(org.xml.sax.SAXParseException: Failed to read schema document错误的解决方法)
- org.xml.sax.SAXParseException: Failed to read schema document错误的完美解决方法 以及 Spring如何加载XSD文件