部署项目报错:org.xml.sax.SAXParseException: The markup in the document following the root element must be well-formed.

此句的一看就是xml文件的错,文档中标记的地方格式不合法,通不过dtd的验证,所以要符合规范,在xml文件的开头加上

<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
</web-app>

这样就符合规范了。

org.xml.sax.SAXParseException: The markup in the document following the root element must be well-fo相关推荐

  1. Spring如何加载XSD文件(org.xml.sax.SAXParseException: Failed to read schema document错误的解决方法)...

    本文原文连接: http://blog.csdn.net/bluishglc/article/details/7596118 ,转载请注明出处! 有时候你会发现过去一直启动正常的系统,某天启动时会报出 ...

  2. org.xml.sax.SAXParseException: Failed to read schema document错误的完美解决方法 以及 Spring如何加载XSD文件

    有时候你会发现过去一直启动正常的系统,某天启动时会报出形如下面的错误: org.xml.sax.SAXParseException: schema_reference.4: Failed to rea ...

  3. 解决XML配置文件The markup in the document following the root element must be well-formed报错

    解决方法 这是因为XML的格式错误,检查格式.缩进等就行,比如常见的错误: 反斜杠</xxx> 缩进不对: <a> <b></b> # 错误 </ ...

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

    和"White space is required after "<!DOCTYPE" in the document type declaration." ...

  5. Caused by: org.xml.sax.SAXParseException: 不允许有匹配 [xX][mM][lL] 的处理指令目标。

    版权声明:本文为 testcs_dn(微wx笑) 原创文章,非商用自由转载-保持署名-注明出处,谢谢. https://blog.csdn.net/testcs_dn/article/details/ ...

  6. 解决:org.xml.sax.SAXParseException: 元素类型 “head“ 必须由匹配的结束标记 “</head>问题

    解决:org.xml.sax.SAXParseException: 元素类型 "head" 必须由匹配的结束标记 "问题 参考文章: (1)解决:org.xml.sax. ...

  7. Caused by: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'.

    信息: Initializing Spring root WebApplicationContext log4j:WARN No appenders could be found for logger ...

  8. java 文件提前结束_java – org.xml.sax.SAXParseException:过早结束文件

    我目前有以下 XML文件. 我的XMLParser.java类. package edu.unsw.comp9321.assignment1; import java.io.File; import ...

  9. org.xml.sax.SAXParseException; lineNumber: 11; columnNumber: 285; cvc-elt.1.a: 找不到元素 ‘beans‘ 的声明。

    错误样式: org.xml.sax.SAXParseException找不到元素 'beans' 的声明 这种错误一般都是因为spring的配置文件版本号不对应出现的(既 spring jar 和 s ...

最新文章

  1. web服务器与网页表单通信,前端与后端通信的几种方式
  2. 嵌入式系统串口解析二进制数_嵌入式系统Bootloader分析及DSP56F800串口加载功能实现...
  3. 前端学习(3327):闭包的形式2
  4. 【机器学习】逻辑斯蒂回归原理
  5. 双向循环链表c语言,双向循环链表的实现与使用
  6. python json数组解析_Python读取JSON数据操作实例解析
  7. IDAPython精彩编程(1)
  8. PostgreSQL 10 自定义并行计算聚合函数的原理与实践
  9. 第六章 第一个Linux驱动程序:统计单词个数
  10. c语言汉诺塔动画程序,汉诺塔问题算法(c语言控制台动画演示版)
  11. 高仿360云盘android端的ui实现,高仿360云盘android端的UI实现
  12. PAT 甲级 图形输出 1031 Hello World for U (20 分)
  13. 腾讯优图实验室招聘计算机视觉研究员和实习生
  14. 原生Python实现KNN算法,并用鸢尾花(iris)数据集测试
  15. 记录一次下载pdf/xsml的需求
  16. linux常用命令,自己总结
  17. 基本数据类型与高精度数字
  18. java-core-basic
  19. crt是什么意思 windows编程_[转]CRT与Windows的关系
  20. UI设计理念——一切从用户出发

热门文章

  1. av_rescale_q()
  2. mysql 流水号_mysql数据库做流水号
  3. 第13届景驰-埃森哲杯广东工业大学ACM程序设计大赛 E-回旋星空
  4. 添加pdf打印机后给PDF添加背景
  5. 版本控制:git和svn
  6. idea安装EasyCode插件
  7. 经合经验模态分解res残差
  8. NVIDIA平台xavier upgrade update更新完后驱动丢失问题
  9. 关于基尔霍夫定律拓扑小知识
  10. STM32软件学习笔记(一)基于HAL库的STM32F429单片机串口打印程序