1. xml文件报错: no declaration can be found for element 'dubbo:registry'.

dubbo xml文件报错:提示no declaration can be found for element 'dubbo:registry'.


2.解决办法:

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

jar包地址:https://pan.baidu.com/s/1o8gg3WY

dubbo xml文件报错:提示no declaration can be found for element 'dubbo:registry'.

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

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

找到dubbo.xsd文件。

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


dubbo xml文件报错:提示no declaration can be found for element 'dubbo:registry'.


在xml文件右击选择validate就行了










相关文章:

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