Failed to read schema document 'http://code.alibabatech.com/schema/dubbo/dubbo.xsd'问题解决方法

或者报错:

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'问题解决方法

时间: 2024-10-20 07:43:28

Failed to read schema document 'http://code.alibabatech.com/schema/dubbo/dubbo.xsd'问题解决方法的相关文章

Failed to read schema document 'http://www.springframework.org/schema/mvc/spring-mvc.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 'mvc:default-servlet-handler'. - schema_reference.4: Failed to read schema document 'http://www.springfram

(转)解决dubbox-demo-provider.xml报错的问题:提示Failed to read schema document

背景:在eclipse项目中,经常会遇到xml文件提示找不到.xsd文件的情况.很有必要弄清xsd文件的加载过程! 1 解决过程 dubbo-demo-provider导入eclipse后dubbox-demo-provider.xml报错详情: Multiple annotations found at this line: - cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be

Spring如何加载XSD文件(org.xml.sax.SAXParseException: Failed to read schema document错误的解决方法)

本文原文连接: http://blog.csdn.net/bluishglc/article/details/7596118 ,转载请注明出处! 有时候你会发现过去一直启动正常的系统,某天启动时会报出形如下面的错误: [plain] view plaincopy org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'http://www.springframework.org/sche

Failed to read schema document

转自:http://eric-yan.iteye.com/blog/1908470 问题描述: web项目web.xml编译错误: schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd', because 1)  could not find the document; 2) the document could not be read; 3) the

[Android Studio][NDK]Execution failed for task ':app:compileDebugNdk'. Error Code:2

Execution failed for task ':app:compileDebugNdk'. > com.android.ide.common.internal.LoggedErrorException: Failed to run command: C:\Users\sodinochen\AppData\Local\Android\ndk-r10b\ndk-build.cmd NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=C:\Users\sodinoch

SQL Server 2008 installation fails There was an error generating the XML document. Error code 0x84B10001.

SQL Server 2008 installation fails There was an error generating the XML document. Error code 0x84B10001. 在windows2008R2上用Administrator用房安装mssqlserver2008 时起到最后一步安装时出现错误: 生成XML错误,Error code 0x84B10001 百度搜索了一堆网站后,都不成功,后来查询了微软官方论坛也不靠谱啊...https://social

unable to read askpass response from 'C:\Users\..\..\intellij-git-askpass.bat' failed to execute prompt script (exit code 1) could not read Username

原因: 缺少用户认证信息. 解决办法: 在 .git 的 config 配置文件中的请求串中加入用户身份的认证信息. https://[userName]:[password]@github.com/[username]/project.git 例如: [remote "origin"] url = http://wangshzh:[email protected]/zhangyb/dmavip.git fetch = +refs/heads/*:refs/remotes/origin

onfiguration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/security]

org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/security]Offending resource: file [D:\work\wtgs.

IOS 随笔 -- _OBJC_CLASS_$xxx", referenced from:和 linker command failed with exit code 1 (use -v to see invocation)问题解决

因为项目需求需要根据用户的信息生成二维码,二维码SDK主流(ZXing)(ZBar),我选择的是(ZBar),但是在添加过程中出现了这样的问题: "_OBJC_CLASS_$_xx文件名", referenced from: linker command failed with exit code 1 (use -v to see invocation) file:///Users/tudali/Desktop/屏幕快照%202014-11-06%2017.42.44.png 问题处理