错误描述:

The matching wildcard is strict, but no declaration can be found for element 'dubbo:application'

错误现象:

spring中配置dubbo,出现:can be found for element 'dubbo:application'解决办法

解决办法:

1.在项目的本地工作空间中找到lib/dubbo-2.8.4.jar,复制出来,解压缩,拿到META-INF/dubbo.xsd文件。如放在E:/dubbo/dubbo.xsd

2.在eclipse中依次点击windows-->preferrence-->xml-->xmlcatalog如图:

spring中配置dubbo,出现:can be found for element 'dubbo:application'解决办法

3.点击Add

1)在Catalog Entry的Location中按File System...选择第1步保存的dubbo.xsd

2)在Key中填写:http://code.alibabatech.com/schema/dubbo/dubbo.xsd

spring中配置dubbo,出现:can be found for element 'dubbo:application'解决办法

点击OK。

4.右键项目,点击Validate即可。

 

 

相关文章:

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