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

来源:互联网 发布:marryu软件怎么样 编辑:程序博客网 时间:2024/05/16 06:56

使用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>.

 

解决方式:

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

并且要与使用的xml中的配置一致。

如下图所示



另外:

mvn compile 编译源码

mvn install 安装到本地库

git提交时防止source folder为空,为空则不提交该source folder

git使用时先创建master分支,然后使用create brance创建develop目录,最后使用switch切换到develop后进行提交。


0 0
原创粉丝点击