Failed to read schema document
2015-05-28 17:58
363 查看
转自:http://eric-yan.iteye.com/blog/1908470
问题描述:
web项目web.xml编译错误:
schema_reference.4:Failedtoreadschemadocument'http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd',because1)couldnotfindthedocument;2)thedocumentcouldnotberead;3)therootelementofthedocumentisnot<xsd:schema>.
解决方案:
多方查找,终不得解决,最后,format了一下格式,问题得以解决。
问题描述:
web项目web.xml编译错误:
schema_reference.4:Failedtoreadschemadocument'http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd',because1)couldnotfindthedocument;2)thedocumentcouldnotberead;3)therootelementofthedocumentisnot<xsd:schema>.
解决方案:
多方查找,终不得解决,最后,format了一下格式,问题得以解决。
compileerrorformat: <web-appxmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaeehttp://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"id="WebApp_ID"version="2.5">
noerrorformat: <web-appversion="2.5"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaeehttp://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
相关文章推荐
- 关于Spring的问题之Failed to read schema document
- Spring如何加载XSD文件(org.xml.sax.SAXParseException: Failed to read schema document错误的解决方法)
- Spring如何加载XSD文件(org.xml.sax.SAXParseException: Failed to read schema document错误的解决方法)
- 【常用积累】xml文件中,出现Failed to read schema document问题解决
- org.xml.sax.SAXParseException: Failed to read schema document 的原因分析与解决方法
- Failed to read schema document 'http://code.alibabatech.com/schema/dubbo/dubbo.xsd'问题解决方法
- Spring如何加载XSD文件(org.xml.sax.SAXParseException: Failed to read schema document错误的解决方法)
- 解决dubbox-demo-provider.xml报错的问题:提示Failed to read schema document
- 关于Spring的问题之Failed to read schema document
- Spring如何加载XSD文件(org.xml.sax.SAXParseException: Failed to read schema document错误的解决方法)
- Failed to read schema document 'http://code.alibabatech.com/schema/dubbo/dubbo.xsd'问题解决方法
- Spring如何加载XSD文件(org.xml.sax.SAXParseException: Failed to read schema document错误的解决方法)
- Spring如何加载XSD文件(org.xml.sax.SAXParseException: Failed to read schema document错误的解决方法)
- Spring如何加载XSD文件(org.xml.sax.SAXParseException: Failed to read schema document错误的解决方法)
- org.xml.sax.SAXParseException: Failed to read schema document错误的完美解决方法 以及 Spring如何加载XSD文件
- Spring如何加载XSD文件(org.xml.sax.SAXParseException: Failed to read schema document错误的解决方法)
- Spring如何加载XSD文件(org.xml.sax.SAXParseException: Failed to read schema document错误的解决方法)
- Failed to read schema document 'http://code.alibabatech.com/schema/dubbo/dubbo.xsd'
- Spring如何加载XSD文件(org.xml.sax.SAXParseException: Failed to read schema document错误的解决方法)
- Spring如何加载XSD文件(org.xml.sax.SAXParseException: Failed to read schema document错误的解决方法)