解决dubbox-demo-provider.xml报错的问题:提示Failed to read s
发布时间:2020-12-16 05:55:37 所属栏目:百科 来源:网络整理
导读: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
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.错误搞定 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |