`
荧火流年
  • 浏览: 60797 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

The markup in the document preceding the root element must be well-formed.

阅读更多
java.lang.RuntimeException: Error occurred.  Cause: com.ibatis.common.xml.NodeletException: Error parsing XML.  Cause: org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed.
at com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(SqlMapConfigParser.java:89)
at com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(SqlMapClientBuilder.java:63)
at com.haininghacker.model.Demo.main(Demo.java:16)
Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML.  Cause: org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed.
at com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:53)
at com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(SqlMapConfigParser.java:86)
... 2 more
Caused by: org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.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 com.ibatis.common.xml.NodeletParser.createDocument(NodeletParser.java:157)
at com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:50)
... 3 more

出现这个问题的原因是<! DOCTYPE...> 之间多了个空格
分享到:
评论

相关推荐

    MATLAB常见问题解决方法

    故障一:matlab一打开随即自动关闭;故障二:打开matlab就出现如下的提示 "The markup in the document preceding the root element must be well-formed.

    PyPI 官网下载 | metapensiero.markup.semtext-0.23.tar.gz

    资源来自pypi官网。 资源全名:metapensiero.markup.semtext-0.23.tar.gz

    php UTF-8、Unicode和BOM问题

    经常遇到的问题是,使用了BOM编码后,PHP脚本执行错误,或使用fileStream读取并转换为XML会报错"The markup in the document following the root element must be well-formed."。

    HTML5.Quick.Markup.Reference

    It presents the essential HTML5 elements and attributes in a well-organized format that can be used as a handy reference. HTML5 Quick Markup Reference is an ...

    Markup.h和cpp读取xml

    添加到自己的工程中,可以用来读取XML中的信息,比较方便无须编译其他库

    wp-fix-feed-not-well-formed-markup

    wp-fix-feed-not-well-formed-markup 修复了 WordPress 在提要中显示时未正确编码标记的问题。

    Markup.js, 强大的JavaScript模板.zip

    Markup.js, 强大的JavaScript模板 Markup.js-- 功能强大的JavaScript模板Markup.js 是一个简单而强大的JavaScript模板系统。为什么 Markup.js?Markup.js 将结构化数据转换为HTML标记或者其他文本格式的痛苦。 它

    jpi.tar.gz

    'ace-editor.jpi', 'ansicolor.jpi', 'ant.jpi', 'antisamy-markup-formatter.jpi', 'apache-httpcomponents-client-4-api.jpi', 'authentication-tokens.jpi', 'bouncycastle-api.jpi', 'branch-api.jpi', 'build-...

    Essential.XML.Beyond.Markup.chm

    Essential.XML.Beyond.Markup.chm

    NIST SP800-28.pdf

    technologies, therefore, must be increasingly on guard. One such category of emerging technologies is active content. Although the term has different connotations among individuals, it is used here ...

    Chinese Entity Linking Comprehensive

    be linked to an entity in the knowledge base), and entity type information for each of the queries. The data included in this package were originally released by LDC to TAC KBP coordinators and ...

    HTML5 Quick Markup Reference

    It presents the essential HTML5 elements and attributes in a well-organized format that can be used as a handy reference. HTML5 Quick Markup Reference is an ...

    Introducing Markdown and Pandoc.pdf

    The content of a document is the text, what should be headers, what should be emphasized, and so on. The formatting specifies the font and font size, whether headers should be numbered, and so on.

    DOM Scripting Web Design with JavaScript and the Document Object Model

    DOM Scripting: Web Design with JavaScript and the Document Object Model gives you everything you need to start using JavaScript and the Document Object Model to enhance your web pages with client-...

    Api-swagger2markup.zip

    Api-swagger2markup.zip,通过将手工编写的文档与自动生成的api文档相结合,简化最新restful api文档生成的swagger-to-asciidoc或markdown转换器。swagger2markup,一个api可以被认为是多个软件设备之间通信的指导手册...

    goit-markup-hw-03-源码.rar

    goit-markup-hw-03-源码.rar

    Python库 | django-markup-1.4.tar.gz

    资源分类:Python库 所属语言:Python 资源全名:django-markup-1.4.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059

    HTML5-Pocket-Reference.epub

    Descriptions, markup examples, content categories, content models, and start- and end-tag requirements for every element At-a-glance notes indicating the differences between the ...

    oracle primavera unifier 21.12 新特征功能清单

    Business Processes and the Document Manager can now integrate with the Bluebeam document review and markup platform. Configure Bluebeam in the Integrations node, which is now found in the Company ...

Global site tag (gtag.js) - Google Analytics