使用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文件:
https://github.com/alibaba/dubbo
eclispe-->window-->preferences-->xml catalog-->add 注意KEY 需要以/dubbo.xsd结尾,如下图所示

-
本文转自:http://blog.youkuaiyun.com/wzygis/article/details/51381905 感谢作者
本文介绍了解决 Dubbo 中出现的 XML Schema 解析错误的方法。通过在 Eclipse 中配置正确的 XSD 文件路径,可以避免因找不到 schema 文档而导致的问题。

1462

被折叠的 条评论
为什么被折叠?



