pom文件报错:The matching wildcard is strict, but no declaration can be found for  element 'dubbo:service'.

dubbo spring pom文件报错:提示no declaration can be found for element 'dubbo:service'.

 

解决办法:

找到dubbo的jar包,解压后在META-INF文件夹下找到dubbo.xsd 

dubbo spring pom文件报错:提示no declaration can be found for element 'dubbo:service'.

在eclipse中点击windows-->preferrence-->xml-->xmlcatalog 

选择add-->catalog entry  -->file system

找到dubbo.xsd文件。

key:http://code.alibabatech.com/schema/dubbo/dubbo.xsd

dubbo spring pom文件报错:提示no declaration can be found for element 'dubbo:service'.

点击OK,点击OK。

在pom文件右击选择validate。

相关文章:

  • 2021-07-07
  • 2021-04-23
  • 2021-10-13
  • 2021-10-06
  • 2021-06-06
  • 2022-12-23
  • 2021-10-09
  • 2021-07-11
猜你喜欢
  • 2021-09-12
  • 2021-04-05
  • 2021-09-03
  • 2021-08-18
  • 2022-01-05
  • 2021-09-27
  • 2022-12-23
相关资源
相似解决方案