本文主要是介绍eclipse设置xsd,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
转至: http://blog.csdn.net/LXB15959168136/article/details/50225057
使用dubbo时遇到问题
org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'http://code.alibabatech.com/schema/dubbo/dubbo.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>
解决方案:
下载一个dubbo.xsd文件windows->preferrence->xml->xmlcatalog
add->catalog entry ->file system 选择刚刚下载的文件路径
修改key值和配置文件的http://code.alibabatech.com/schema/dubbo/dubbo.xsd 相同

保存。。在xml文件右键validate ok解决了。。
这篇关于eclipse设置xsd的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!