配置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下工程就可以啦。