首页 > 其他 > 详细

xml文件不识别dubbo标签,添加支持的方法

时间:2018-09-06 01:49:55      阅读:191      评论:0      收藏:0      [点我收藏+]

使用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.csdn.net/wzygis/article/details/51381905 感谢作者

xml文件不识别dubbo标签,添加支持的方法

原文:https://www.cnblogs.com/zhangxj/p/9595697.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!