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:module'.
- 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.
可能是缺少Jar包导致的(实际上Spring并没有严格要求一定要解析网址上面的XSD定义文件),Spring解析到你有一个dubbo定义的标签的时候,会从jar包里面的指定位置(meta-inf下面)去寻找xsd的定义,从错误上看,应该是没找到。 所以看下dubbo.jar是不是不在classpath里面。