org.xml.sax.SAXParseException: The markup in the document following the root element must be well-fo
部署项目报错: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相关推荐
- Spring如何加载XSD文件(org.xml.sax.SAXParseException: Failed to read schema document错误的解决方法)...
本文原文连接: http://blog.csdn.net/bluishglc/article/details/7596118 ,转载请注明出处! 有时候你会发现过去一直启动正常的系统,某天启动时会报出 ...
- org.xml.sax.SAXParseException: Failed to read schema document错误的完美解决方法 以及 Spring如何加载XSD文件
有时候你会发现过去一直启动正常的系统,某天启动时会报出形如下面的错误: org.xml.sax.SAXParseException: schema_reference.4: Failed to rea ...
- 解决XML配置文件The markup in the document following the root element must be well-formed报错
解决方法 这是因为XML的格式错误,检查格式.缩进等就行,比如常见的错误: 反斜杠</xxx> 缩进不对: <a> <b></b> # 错误 </ ...
- the markup in the document preceding the root element must be well-formed
和"White space is required after "<!DOCTYPE" in the document type declaration." ...
- Caused by: org.xml.sax.SAXParseException: 不允许有匹配 [xX][mM][lL] 的处理指令目标。
版权声明:本文为 testcs_dn(微wx笑) 原创文章,非商用自由转载-保持署名-注明出处,谢谢. https://blog.csdn.net/testcs_dn/article/details/ ...
- 解决:org.xml.sax.SAXParseException: 元素类型 “head“ 必须由匹配的结束标记 “</head>问题
解决:org.xml.sax.SAXParseException: 元素类型 "head" 必须由匹配的结束标记 "问题 参考文章: (1)解决:org.xml.sax. ...
- 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 ...
- java 文件提前结束_java – org.xml.sax.SAXParseException:过早结束文件
我目前有以下 XML文件. 我的XMLParser.java类. package edu.unsw.comp9321.assignment1; import java.io.File; import ...
- org.xml.sax.SAXParseException; lineNumber: 11; columnNumber: 285; cvc-elt.1.a: 找不到元素 ‘beans‘ 的声明。
错误样式: org.xml.sax.SAXParseException找不到元素 'beans' 的声明 这种错误一般都是因为spring的配置文件版本号不对应出现的(既 spring jar 和 s ...
最新文章
- web服务器与网页表单通信,前端与后端通信的几种方式
- 嵌入式系统串口解析二进制数_嵌入式系统Bootloader分析及DSP56F800串口加载功能实现...
- 前端学习(3327):闭包的形式2
- 【机器学习】逻辑斯蒂回归原理
- 双向循环链表c语言,双向循环链表的实现与使用
- python json数组解析_Python读取JSON数据操作实例解析
- IDAPython精彩编程(1)
- PostgreSQL 10 自定义并行计算聚合函数的原理与实践
- 第六章 第一个Linux驱动程序:统计单词个数
- c语言汉诺塔动画程序,汉诺塔问题算法(c语言控制台动画演示版)
- 高仿360云盘android端的ui实现,高仿360云盘android端的UI实现
- PAT 甲级 图形输出 1031 Hello World for U (20 分)
- 腾讯优图实验室招聘计算机视觉研究员和实习生
- 原生Python实现KNN算法,并用鸢尾花(iris)数据集测试
- 记录一次下载pdf/xsml的需求
- linux常用命令,自己总结
- 基本数据类型与高精度数字
- java-core-basic
- crt是什么意思 windows编程_[转]CRT与Windows的关系
- UI设计理念——一切从用户出发