配置dubbo环境过程中的xml文件,安装官网的demo配置好后,出错:

"Description Resource Path Location Type

cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'dubbo:service'. applicationContext.xml /dubboprovider/src line 29 XML Problem

"

原因:没有找到dubbo.xsd文件才不会识别不到dubbo的标签

方法一:手动添加shema标签导入

eclipse中不能找到dubbo.xsd报错”cvc-complex-type.2.4.c“的 两种解决方法

 

方法二:关闭xml的合法验证

eclipse中不能找到dubbo.xsd报错”cvc-complex-type.2.4.c“的 两种解决方法

clean下工程就可以啦。

相关文章:

  • 2022-12-23
  • 2022-01-23
  • 2021-11-03
  • 2021-06-07
  • 2022-12-23
  • 2021-12-22
猜你喜欢
  • 2021-04-14
  • 2022-12-23
  • 2022-12-23
  • 2021-05-22
  • 2022-12-23
  • 2021-06-23
相关资源
相似解决方案