dubbo找不到dubbo.xsd,報錯Multiple annotations found at this line:
阿新 • • 發佈:2019-01-22
參考http://blog.csdn.net/zbw18297786698/article/details/54582071
報錯:
Multipleannotations found at this line:
– cvc-complex-type.2.4.c: The matchingwildcard is strict, but no declaration can be found for element‘dubbo:application’.
– schema_reference.4: Failed to read schemadocument ‘http://code.alibabatech.com/schema/dubbo/dubbo.xsd’,
because 1) couldnot find the document; 2) the document could not be read; 3) the root elementof the document is not <xsd:schema>
原因:http://code.alibabatech.com/schema/dubbo
http://code.alibabatech.com/schema/dubbo/dubbo.xsd
輸入到位址列找不到資源
但ali的這個網站不能訪問了,所以要把dubbo.xsd(在網上找一個下)下載到本地,並在eclipse設定
注意:一定要記得手動寫上/dubbo.xsd