The processing instruction target matching "[xX][mM][lL] "is not allowed错误解决办法总结
2010-07-12 20:15
676 查看
在做开发的时候这样的错误The processing instruction target matching "[xX][mM][lL] " is not allowed也会是经常遇见的,是什么原因造成的?又要如何去解决呢?
造成原因:web.xml配置文件格式出现问题不能够符合规范
解决办法:
1.重新编写配置文件,可能是在复制的过程中有空格之类的原因导致。
2.在<?xml version="1.0" encoding="UTF-8"?>下面加上
<!DOCTYPE web-app SYSTEM "http://java.sun.com/dtd/web-app_2_3.dtd">
3.有的时候重新编写也是不能解决那就复制一个好用的(我就是这样解决的)
造成原因:web.xml配置文件格式出现问题不能够符合规范
解决办法:
1.重新编写配置文件,可能是在复制的过程中有空格之类的原因导致。
2.在<?xml version="1.0" encoding="UTF-8"?>下面加上
<!DOCTYPE web-app SYSTEM "http://java.sun.com/dtd/web-app_2_3.dtd">
3.有的时候重新编写也是不能解决那就复制一个好用的(我就是这样解决的)
相关文章推荐
- 由于空格引起的xml错误之The processing instruction target matching "[xX][mM][lL]" is not allowed以及the markup in the document prec
- 成功解决问题[Fatal Error] test.xml:1:7: The processing instruction target matching "[xX][mM][lL]" is not allowed.
- The processing instruction target matching "[xX][mM][lL]" is not allowed.
- The processing instruction target matching "[xX][mM][lL]" is not allowed
- The processing instruction target matching "[xX][mM][lL]" is not allowed.
- The processing instruction target matching "[xX][mM][lL]" is not allowed
- The processing instruction target matching "[xX][mM][lL]" is not allowed.
- xml The processing instruction target matching "[xX][mM][lL]" is not allowed
- The processing instruction target matching "[xX][mM][lL]" is not allowed.
- The processing instruction target matching "[xX][mM][lL]" is not allowed.
- The processing instruction target matching "[xX][mM][lL]" is not allowed
- Parse Fatal Error at line 1 column 7: The processing instruction target matching "[xX][mM][lL]" is not allowed.
- The processing instruction target matching "[xX][mM][lL]" is not allowed.
- The processing instruction target matching "[xX][mM][lL]" is not allowed.
- 关于解决 The processing instruction target matching "[xX][mM][lL]" is not allowed
- The processing instruction target matching "[xX][mM][lL]" is not allowed
- XML解析异常之 The processing instruction target matching "[xX][mM][lL]" is not allowed.
- 关于XML文件的异常:The processing instruction target matching "[xX][mM][lL]" is not allowed.
- XML问题: The processing instruction target matching "[xX][mM][lL]" is not allowed
- ofbiz fop 报错 The processing instruction target matching "[xX][mM][lL]" is not allowed