pom文件报错:The matching wildcard is strict, but no declaration can be found for element 'dubbo:service
来源:互联网 发布:jy淘宝店网址 编辑:程序博客网 时间:2024/05/21 17:48
pom文件报错:The matching wildcard is strict, but no declaration can be found for element 'dubbo:service'.
解决办法:
找到dubbo的jar包,解压后在META-INF文件夹下找到dubbo.xsd
在eclipse中点击windows-->preferrence-->xml-->xmlcatalog
选择add-->catalog entry -->file system
找到dubbo.xsd文件。
key:http://code.alibabatech.com/schema/dubbo/dubbo.xsd
点击OK,点击OK。
在pom文件右击选择validate。
ok了
阅读全文