解决dubbox-demo-provider.xml报错的问题:提示Failed to read schema document

前端之家收集整理的这篇文章主要介绍了解决dubbox-demo-provider.xml报错的问题:提示Failed to read schema document前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

dubbo-demo-provider导入eclipse后dubBox-demo-provider.xml报错详情::

Multiple annotations found at this line:
	- cvc-complex-type.2.4.c: The matching wildcard is strict,but no declaration can be found for element 'dubbo:application'.
	- 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>.
@H_502_4@ 解决方案::

1.解压dubbo-2.8.4.jar,在解压后的文件中找到dubbo.xsd文件,并copy至一个目录,如E:/dubbo

2.Eclipse:::: (1)windows->preferrence->xml->xmlcatalog

(2)add->catalogentry->filesystem

@H_502_4@

@H_502_4@

@H_502_4@

3. 右击dubbo-demo-provider.xml--->validate.

4.错误搞定

原文链接:https://www.f2er.com/xml/295486.html

猜你在找的XML相关文章