错误信息:
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 .
解救方法:
1.下载xsd文件
https://github.com/alibaba/dubbo/blob/master/dubbo-config/dubbo-config-spring/src/main/resources/META-INF/dubbo.xsd
2.把xsd配置到XML Cadalog
Windows->references->XML Cadalog->User Specidied Entries->add
注意一点是图中Key后面的dubbo.xsd要自己手动加上。
相关文章
- springmvc 访问时找不到配置文件
- 在java的xml文件配置数据库URL地址时提示The reference to entity "characterEncoding" must end with the ';' delimiter.错误信息
- 1.在配置XML文件时出现reference file contains errors (http://www.springframework.org/schema/beans/...解决方案
- Windows系统下,对Git进行SSH公钥配置时,找不到.ssh文件的解决方案
- 解决使用Oracle库利用MyBatis配置文件逆向生成的实体类时mapping.xml里有重复的节点问题
- SSH问题:系统启动时,spring配置文件解析失败,报”cvc-elt.1: 找不到元素 'beans' 的声明“异常
- 配置Dubbo Demo遇到的坑之一---找不到dubbo.xsd文件
- IDEA编译时,致命错误:找不到包java.lang? pom.xml文件部分依赖版本号爆红 版本号解决方法?
- 为什么在用Vivado生成存储器配置文件时找不到相应型号的Flash芯片呢?
- Idea中找不到xml配置文件问题研究以及classpath设置(转载)