After the project introduced Dubbo, the XML file error:
Multiple annotations found at this line:-cvc-complex-type.2.4.c:the matching wildcard are strict, but no declaration can be found for element ' Dubbo:service '.-schema_reference.4:failed to read schema document ' HTTP://CODE.ALIBABATECH.COM/SC Hema/dubbo/dubbo.xsd ', because 1) could not find the document; 2) The document could isn't be read; 3) The root element of the document is not <xsd:schema>.
As shown in the following:
In fact, in the project also does not affect the use, just obsessive-compulsive disorder, look at the feeling is the project error, just want to modify the configuration here:
1: Unzip the Dubbo-*.jar file, locate the Dubbo.xsd file in the file;
2:windows->preferrence->xml->xmlcatalog
Add->catalog Entry->file System Select the file path you just downloaded
Modifying the key value is the same as the http://code.alibabatech.com/schema/dubbo/dubbo.xsd of the configuration file
Save: In the XML file right-click Validate OK resolved.
Dubbo cvc-complex-type.2.4.c Error, Dubbo.xsd