配置dubbo时xml文件找不到dubbo.xsd
2017-07-30 16:54
344 查看
错误信息:
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要自己手动加上。
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>.
解救方法:
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要自己手动加上。
相关文章推荐
- dubbo.xsd文件 找不到,配置文件报红色标志错误解决办法
- Spring 引入dubbo配置文件报错解决方案引入dubbo.xsd无效
- 解决服务器代码执行mvn test后在classes和test-classes下找不到Spring的bean.xml配置文件问题
- 关于Dubbo服务管控的xml配置文件报错的解决办法
- IDEA中SSH框架配置问题—— 找不到hbm.xml映射文件
- 关于DUBBO服务的XML配置文件报错的问题
- applicationContext的xml配置文件异常:找不到beans的声明文件
- 【applicationContext.xml】配置文件找不到
- Spring的xml配置文件引入不同jar包的xsd看jar包功能-递增模式
- idea编写hibernate程序时找不到**hmb.xml配置文件
- 搭建SSH框架遇到的struts.xml找不到spring定义的bean的错误(配置文件的路径问题)
- Idea中找不到Java Application 的xml配置文件问题研究
- 关于dubbo服务的xml配置文件报错的问题
- spring的module-context.xml文件报找不到dubbo.xsd文件错误
- spring 配置文件无法加载,junit找不到xml配置文件java.lang.IllegalStateException: Failed to load ApplicationContext
- Eclipse引用XSD实现XML配置文件提示标签
- 【java】关于Dubbo服务的xml配置文件报错的问题
- dubbo的xml配置文件有红叉问题
- XML配置文件中写版本号.xsd和不写版本号的区别