您的位置:首页 > 其它

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

2017-07-01 11:15 316 查看
参考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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  dubbo
相关文章推荐