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

配置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标签导入

 

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

clean下工程就可以啦。

posted @ 2016-03-08 15:41  nanyangzp  阅读(7785)  评论(0编辑  收藏  举报