org.xml.sax.SAXParseException: Content is not allowed in prolog.
2014-09-25 17:06
585 查看
今天在部署项目的时候,突然报错
org.xml.sax.SAXParseException: Content is not allowed in prolog.
什么都没有动,怎么会报这个错呢,仔细检查程序,我也没有修改过程序,只是刚刚更改了tomcat下的server.xml=中的端口,
不会是端口的问题吧,端口改回去还是不行后来
查了下,
http://blog.sina.com.cn/s/blog_6d5d8b580100txon.html
这里有很多的解释,
仔细的检查了下server.xml文件,才发现,不知道什么时候在头部xml之前多了个s ,去掉保存,部署后,一切OK
org.xml.sax.SAXParseException: Content is not allowed in prolog.
什么都没有动,怎么会报这个错呢,仔细检查程序,我也没有修改过程序,只是刚刚更改了tomcat下的server.xml=中的端口,
不会是端口的问题吧,端口改回去还是不行后来
查了下,
http://blog.sina.com.cn/s/blog_6d5d8b580100txon.html
这里有很多的解释,
仔细的检查了下server.xml文件,才发现,不知道什么时候在头部xml之前多了个s ,去掉保存,部署后,一切OK
相关文章推荐
- sax错误:org.xml.sax.SAXParseException: Content is not allowed in prolog解决
- sax错误:org.xml.sax.SAXParseException: Content is not allowed in prolog
- tom启动报错:org.xml.sax.SAXParseException: Content is not allowed in prolog.
- sax解析xml运行出现错误org.xml.sax.SAXParseException: Content is not allowed in prolog
- sax解析xml运行出现错误org.xml.sax.SAXParseException: Content is not allowed in prolog.
- org.xml.sax.SAXParseException: Content is not allowed in prolog.
- org.xml.sax.SAXParseException: Content is not allowed in prolog.
- org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog
- sax错误:org.xml.sax.SAXParseException: Content is not allowed in prolog 终极解决
- org.xml.sax.SAXParseException: Content is not allowed in prolog
- org.xml.sax.SAXParseException: Content is not allowed in prolog.
- org.xml.sax.SAXParseException: Content is not allowed in prolog
- sax错误:org.xml.sax.SAXParseException: Content is not allowed in prolog解决
- sax错误:org.xml.sax.SAXParseException: Content is not allowed in prolog解决
- sax错误:org.xml.sax.SAXParseException: Content is not allowed in prolog解决
- org.xml.sax.SAXParseException: Content is not allowed in prolog.
- XML :org.xml.sax.SAXParseException: Content is not allowed in prolog
- 解决org.xml.sax.SAXParseException:Content is not allowed in prolog
- 转载:sax错误:org.xml.sax.SAXParseException: Content is not allowed in prolog解决
- weblogic对xml中BOM处理异常——org.xml.sax.SAXParseException:Content is not allowed in prolog