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


使用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結尾,如下圖所示

 

另外:

mvn compile 編譯源碼

mvn install 安裝到本地庫

git提交時防止source folder為空,為空則不提交該source folder

git使用時先創建master分支,然后使用create brance創建develop目錄,最后使用switch切換到develop后進行提交。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM