cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element

来源:互联网 发布:淘宝童装促销文案 编辑:程序博客网 时间:2024/05/17 07:10

直接导入已有的工程,会出现这个问题,下面给出解决方案:

下载一个dubbo.xsd文件,下载地址:点击打开链接
在eclipse中windows->preferrence->xml->xmlcatalog 
add->catalog entry  ->file system 选择刚刚下载的文件路径

修改key值和配置文件的http://code.alibabatech.com/schema/dubbo/dubbo.xsd 相同


在xml文件右键validate  ok解决了。。


0 0
原创粉丝点击