错误信息:
Multiple annotations found at this line:
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can
be found for element 'dubbo:application'.
- schema_reference.4: Failed to read schema document 'http://
code.alibabatech.com/schema/dubbo/dubbo.xsd', because 1) could not find the
document; 2) the document could not be read; 3) the root element of the document is
not <xsd:schema>.
解决方案:
在eclipse->window->perferences->XML Catalog设置,如下信息:
配置完成后如果继续报错,试着将xsi:schemaLocation里面的配置删掉,如上面这个例子删除“ http://code.alibabatech.com/schema/dubbo http://code.alibabatech.com/schema/dubbo/dubbo.xsd”,问题解决