dubbo.xsd和idubbo.xsd的官方地址不可用
http://code.alibabatech.com/schema/dubbo/dubbo.xsd似乎掛了,真是淡淡的憂傷啊,然后就各種報錯:
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或idubbo.xsd找不到的解決辦法,相信大家都想得到,找一個可用地址替換官方地址即可,然而在網上搜了下,竟然沒人提供,也是憂傷啊,那就只能自己上傳了,如下兩個地址,是我自己上傳的,大家可以用來替換原先的dubbo.xsd和idubbo.xsd地址。
https://git.oschina.net/pi.chen/wendang/raw/master/idubbo.xsd
https://git.oschina.net/pi.chen/wendang/raw/master/idubbo.xsd