解决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>.

解决方案::

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

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

(2)add->catalogentry->filesystem




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

4.错误搞定

相关文章

php输出xml格式字符串
J2ME Mobile 3D入门教程系列文章之一
XML轻松学习手册
XML入门的常见问题(一)
XML入门的常见问题(三)
XML轻松学习手册(2)XML概念