dubbo配置报错:The matching wildcard is strict, but no declaration can be found for element

症状:dubbo-provider.xml配置文件报错如下:
dubbo配置报错:The matching wildcard is strict, but no declaration can be found for element

原因:
http://code.alibabatech.com/schema/dubbo
http://code.alibabatech.com/schema/dubbo/dubbo.xsd
没有找到对应的源文件!

解决:Window -> Preferences -> XML -> XML Catalog -> 选中如图key,edit,将这个key关联到本地的文件 -> OK
dubbo配置报错:The matching wildcard is strict, but no declaration can be found for element
dubbo配置报错:The matching wildcard is strict, but no declaration can be found for element

注:如果XML Catalog Entries中没有如上key,则选择 Add -> Catalog Entry -> 将这个key关联到本地的文件 -> OK
dubbo配置报错:The matching wildcard is strict, but no declaration can be found for element

验证:关联成功后,在项目目录中找到该xml文件,选中,右键,选择Validate,稍等(约5秒),报错消失!
dubbo配置报错:The matching wildcard is strict, but no declaration can be found for element