eclipse中不能找到dubbo.xsd解决方法

来源:互联网 发布:炮打白宫事件知乎 编辑:程序博客网 时间:2024/05/17 23:20

  • 使用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文件

先从网上下载 dubbo.xsd文件 

下载地址:http://download.csdn.net/download/he000111/8244449

  • 进行配置

eclispe-->window-->preferences-->xml catalog-->add 注意KEY 需要以/dubbo.xsd结尾,如下图所示



2 0
原创粉丝点击