dubbo找不到dubbo.xsd,报错Multiple annotations found at this line:

来源:互联网 发布:前后端分离 知乎 编辑:程序博客网 时间:2024/06/05 08:48

参考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

输入到地址栏找不到资源

例将http://www.springframework.org/schema/util/spring-util.xsd输入到地址栏能找到资源


但ali的这个网站不能访问了,所以要把dubbo.xsd(在网上找一个下)下载到本地,并在eclipse设置


注意:一定要记得手动写上/dubbo.xsd



阅读全文
0 0
原创粉丝点击