Failed to read schema document 'http://code.alibabatech.com/schema/dubbo/dubbo.xsd'问题解决方法
2017-05-08 21:44
549 查看
或者报错:
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'context:annotation-config'.
原理参考:http://blog.csdn.net/hengyunabc/article/details/22295749
我不讲废话,单刀直入给出解决办法:主要是缺少dubbo.xsd,配置好就行了。
一:如何下载dubbo.xsd
1.1 第一种办法:下载我附件 http://download.csdn.net/detail/wabiaozia/9398352
1.2 第二种办法:这个dubbo.xsd就在你的dubbo.jar包里,解压后在路径里dubbo\META-INF就可以找到。
二:配置
window-->preferences-->xml-->xml Catalog
然后:
再接着:
最后:右键-->validate
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'context:annotation-config'.
原理参考:http://blog.csdn.net/hengyunabc/article/details/22295749
我不讲废话,单刀直入给出解决办法:主要是缺少dubbo.xsd,配置好就行了。
一:如何下载dubbo.xsd
1.1 第一种办法:下载我附件 http://download.csdn.net/detail/wabiaozia/9398352
1.2 第二种办法:这个dubbo.xsd就在你的dubbo.jar包里,解压后在路径里dubbo\META-INF就可以找到。
二:配置
window-->preferences-->xml-->xml Catalog
然后:
再接着:
最后:右键-->validate
相关文章推荐
- Failed to read schema document 'http://code.alibabatech.com/schema/dubbo/dubbo.xsd'问题解决方法
- Failed to read schema document 'http://code.alibabatech.com/schema/dubbo/dubbo.xsd'问题解决方法
- Failed to read schema document 'http://code.alibabatech.com/schema/dubbo/dubbo.xsd'问题解决方法
- Failed to read schema document 'http://code.alibabatech.com/schema/dubbo/dubbo.xsd'问题解决方法
- Failed to read schema document 'http://code.alibabatech.com/schema/dubbo/dubbo.xsd'问题解决方法
- Failed to read schema document 'http://code.alibabatech.com/schema/dubbo/dubbo.xsd'问题解决方法
- 【Dubbo&&Zookeeper】3、Failed to read schema document 'http://code.alibabatech.com/schema/dubbo/dubbo.xsd'问题解决方法
- Failed to read schema document 'http://code.alibabatech.com/schema/dubbo/dubbo.xsd'问题解决方法
- 解决- schema_reference.4: Failed to read schema document 'http://www.springframe
- Failed to read schema document 'http://code.alibabatech.com/schema/dubbo/dubbo.xsd'问题解决方法
- 解决 schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/context
- (转)解决dubbox-demo-provider.xml报错的问题:提示Failed to read schema document
- Nginx出现The plain HTTP request was sent to HTTPS port问题解决方法
- 关于SDK更新遇到Failed to fetch URL http://dl-ssl.google.com/android refused问题的解决办法
- storm启动spring项目Failed to read schema document 'http://code.alibabatech.com/schema/dubbo/dubbo.xsd'处理
- Unable to chmod ***: Read-only file system问题的解决方法
- Unable to chmod ***: Read-only file system问题的解决方法
- 使用WinDbg调试Silverlight中遇到“Failed to find runtime DLL (clr.dll), 0x80004005”问题的解决方法之一
- maven 问题解决(Failed to look for file: http://)
- 提示Failed to read schema document 'http://www.springframework.org/schema/util/spring-util-4.1.xsd解决方案