简体   繁体   English

我收到此错误:根元素后面的文档中的标记必须格式正确

[英]i am getting this error: The markup in the document following the root element must be well-formed

Thank you for your time:Could you please provide me my error.I am getting an error on dependecies tag stating "The markup in the document following the root element must be well-formed." 谢谢您的宝贵时间:能否请您提供我的错误。我在dependecies标记上遇到错误,指出“根元素后面的文档中的标记必须格式正确。” Please provide your valuable comments . 请提供您的宝贵意见。

<properties>
    <jdk.version>1.6</jdk.version>
    <spring.version>3.2.8.RELEASE</spring.version>
    <spring.security.version>3.2.3.RELEASE</spring.security.version>
    <jstl.version>1.2</jstl.version>
</properties>

<dependencies>

    <!-- Spring dependencies -->
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-core</artifactId>
        <version>${spring.version}</version>
    </dependency>

    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-web</artifactId>
        <version>${spring.version}</version>
    </dependency>

    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-webmvc</artifactId>
        <version>${spring.version}</version>
    </dependency>

    <!-- Spring Security -->
    <dependency>
        <groupId>org.springframework.security</groupId>
        <artifactId>spring-security-web</artifactId>
        <version>${spring.security.version}</version>
    </dependency>

    <dependency>
        <groupId>org.springframework.security</groupId>
        <artifactId>spring-security-config</artifactId>
        <version>${spring.security.version}</version>
    </dependency>

    <!-- jstl for jsp page -->
    <dependency>
        <groupId>jstl</groupId>
        <artifactId>jstl</artifactId>
        <version>${jstl.version}</version>
    </dependency>

</dependencies>

Probably the diagnostics is about the fact, that XML document must have only one root element. 诊断可能与以下事实有关:XML文档必须仅具有一个根元素。 So the provided sample is not a valid XML document. 因此,提供的示例不是有效的XML文档。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 错误:根元素后面的文档中的标记必须格式正确 - Error: The markup in the document following the root element must be well-formed 根元素后面的文档中的标记必须格式正确吗? - The markup in the document following the root element must be well-formed? 错误! Android中的编程-Java开发人员-根元素后的文档中的标记必须格式正确 - ERROR ! in Android - java developer - The markup in the document following the root element must be well-formed Eclipse错误“根元素后面的文档中的标记必须格式正确 - Eclipse error "The markup in the document following the root element must be well-formed Tomcat错误:根元素后的文档中的标记必须格式正确 - Tomcat error: The markup in the document following the root element must be well-formed 添加导航抽屉会导致:根元素后面的文档中的标记必须格式正确 - Adding Navigation Drawer results in: The markup in the document following the root element must be well-formed Android 应用程序,根元素后面的文档中的标记必须格式正确 - Android app, The markup in the document following the root element must be well-formed web.xml根元素后面的文档中的标记必须格式正确 - web.xml the markup in the document following the root element must be well-formed Java XML 问题:文档中根元素后面的标记必须格式正确 - Java XML Problem: The markup in the document following the root element must be well-formed org.xml.sax.SAXParseException 文档中根元素之后的标记必须格式正确 - org.xml.sax.SAXParseException The markup in the document following the root element must be well-formed
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM