spring pom文件报错:提示no declaration can be found for element 'dubbo:service'.
转自:http://blog.csdn.net/happylife_haha/article/details/52755425
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了