Failed to read schema document 'http://code.alibabatech.com/schema/dubbo/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>.
是因為沒有加dubbo.xsd約束。把約束加進來就不報錯了。不過不加也無所謂。執行不報錯
如何加xsd約束?
參看這個博文。
http://blog.csdn.net/wzygis/article/details/51381905
最後記得重新整理工程。maven的話可能還需要maven update
相關推薦
Failed to read schema document 39;http://code.alibabatech.com/schema/dubbo/dubbo.xsd39;
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 'dub
Failed to read schema document 'http://code.alibabatech.com/schema/dubbo/dubbo.xsd'問題解決方法
我們公司使了阿里的dubbo,但是阿里的開源網站http://code.alibabatech.com,掛掉有好幾個月了,為什麼我們的應用啟動沒有問題? 我們的應用的Spring配置檔案裡有類似的配置: <?xml version="1.0" encoding
dubbo使用過程中報錯:Failed to read schema document 'http://code.alibabatech.com/schema/dubbo/dubbo.xsd',
一、出錯原因:http://code.alibabatech.com/schema/dubbo/該地址已經失效 二、解決辦法:在專案內部配置 2.1、 根據自己jar包下載位置找到jar包:dubbo
無法讀取方案文件 'http://code.alibabatech.com/schema/dubbo因為 1) 無法找到文件; 2) 無法讀取文件; 3)
現象: application.xml 文件不報錯,但是執行程式,會報錯,dubbo.xsd 引用的是dubbo.2.4.9.jar ;分析: 網上有人說是dubbo jar版本的問題,後來我換了版本之後還是不行,後來分析發現,程式執行的時候找不到dubbo.jar 解決辦
配置Dubbo Demo遇到的坑之二---無法讀取方案文件 'http://code.alibabatech.com/schema/dubbo/dubbo.xsd'
錯誤資訊如圖所示,我用的是網上下的Dubbo 入門Demo,執行時遇到這個問題,按照網上說的設定本地dubbo.xsd檔案之後依舊報出該錯誤。在經過一晚上的瞎雞巴亂弄之後終於解決了。下載的Demo使用的Dubbo是2.5.3版本,我將版本號換成2.6.0之後解決了問題修改之前
dubbo配置檔案報錯schema_reference.4: Failed to read schema document ...
Multiple annotations found at this line: - cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for e
Spring如何載入XSD檔案(org.xml.sax.SAXParseException: Failed to read schema document錯誤的解決方法)
有時候你會發現過去一直啟動正常的系統,某天啟動時會報出形如下面的錯誤: org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'http://www.spr
【常用積累】xml檔案中,出現Failed to read schema document問題解決
專案匯入到新的環境或者開發工具當中時,有時xml檔案出現了Failed to read ***.xsd檔案的錯誤,這種宣告類檔案,通常在解析xml檔案過程中,按順序載入。載入過程中,根據xml檔案給定的url路徑,進行下載。但這種xsd宣告檔案,並不都是從網上下載的,
spring boot 報錯 Failed to read HTTP message
2008-12-13 15:06:03,930 WARN (DefaultHandlerExceptionResolver.java:384)- Failed to read HTTP message: org.springframework.http.converter.HttpMessageNotRead
Failed to read artifact descriptor for xxx:jar 的Maven項目jar包依賴配置的問題解決
描述 tin ava 打開 文件 我們 記事本 last .com 在開發的過程中,尤其是新手,我們經常遇到Maven下載依賴jar包的問題,也就是遇到“Failed to read artifact descriptor for xxx:jar”的
artifactdescriptorexception:Failed to read artifact descriptor for xxx:jar ”
eas date 下載 解決 upd cep snap ots exceptio 在Eclipse中執行Maven的install命令時,報“Failed to read artifact descriptor for xxx:jar ”的錯誤。這可能是在下載過程中文件出現
Failed to read candidate component class: URL [];
異常異常信息: Failed to read candidate component class: URL []; nested exception is java.lang.IllegalArgumentException 異常原因: 版本問題:spring 3.2 不支持 jdk 1.8 編譯環境。
maven報Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6的解決方案
man 一個 art enc resources osi pre read 是我 上面截圖是我在新建maven項目的時候報錯信息提示,我是這麽解決的 1.在pom.xml文件中加入maven-resources-plugin配置 <dependency>
maven 本地倉庫存在jar包但是專案依舊提示 Failed to read artifact XXX missing artifact XXX的問題
今天從svn匯入一個專案後缺少一個org.restlet.2.1.2.jar 的jar包,而且用無法從官網下載下來,每次update project 後只下載一些 .lastupdate 字尾的檔案。無奈只能自己手動下載jar包到倉庫。下載下來後重新update project 還是會報錯(如題),
【Error】gdb.attach錯誤 Failed to read a valid object file image from memory.
python指令碼中pwntools gdb.attach遇到錯誤:Failed to read a valid object file image from memory. ****** Your encoding (ANSI_X3.4-1968) is different than UT
Failed to read artifact descriptor--maven問題總結
在開發的過程中,作為新手,經常遇到Maven下載依賴的時候,"Failed to read artifact descriptor for xxx:jar"的錯誤 對於這種非業務相關的問題,耽誤時間非常不效率,看到網站很多博文,思路大概是這樣的 思路1: 刪除倉庫內對應依賴的資料夾
BeanDefinitionStoreException Failed to read candidate component class
up vote down vote favoriteCan someone tell me how to solve this issue?
Maven: Failed to read artifact descriptor 解決
今天在學習springboot的時候,pom.xml檔案裡的內容,是從別的地方完全copy過來的,但是在專案裡始終報錯。 網上查了下,在終端裡執行 mvn -U clean install 就解決了問題了。 -U Forces a check for updated
pyinstaller打包python檔案後,執行出現"Failed to execute script xxx.exe"錯誤的解決方式(No module named 39;xxx39;)
一、問題定位: windows+r進入cmd命令列視窗 cd exe檔案所在路徑;如cd C:\Users\user\Desktop\test\dist
Failed to read candidate component class:錯誤
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [D:\Software\java\apache-tomcat-8.0.49\