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.错误搞定