1. 程式人生 > >dubbo-admin構建報錯

dubbo-admin構建報錯

剛從GitHub下載下來的dubbo-admin直接構建彙報如下錯誤,原因是maven庫裡沒有該dubbo的jar包。

[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for com.alibaba:dubbo-admin:war:2.5.4-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is
missing. @ com.alibaba:dubbo-parent:2.5.4-SNAPSHOT, F:\DevelopTools\dubbo\dubbo-master\pom.xml, line 381, column 12 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ com.alibaba:dubbo-parent:2.5.4-SNAPSHOT, F:\DevelopTools\dubbo\dubbo-master\pom.xml, line 367
, column 12 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ com.alibaba:dubbo-parent:2.5.4-SNAPSHOT, F:\DevelopTools\dubbo\dubbo-master\pom.xml, line 451, column 12 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of
your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building dubbo-admin 2.5.4-SNAPSHOT [INFO] ------------------------------------------------------------------------ [WARNING] The POM for com.alibaba:dubbo:jar:2.5.4-SNAPSHOT is missing, no dependency information available [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.397 s [INFO] Finished at: 2017-03-16T21:38:28+08:00 [INFO] Final Memory: 8M/155M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project dubbo-admin: Could not resolve dependencies for project com.alibaba:dubbo-admin:war:2.5.4-SNAPSHOT: Could not find artifact com.alibaba:dubbo:jar:2.5.4-SNAPSHOT -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

意思是maven庫裡沒有dubbo2.5.4-SNAPSHOT.jar這個版本的dubbo的jar包,把dubbo-admin專案的pom.xml的

<dependency>
    <groupId>com.alibaba</groupId>
    <artifactId>dubbo</artifactId>
    <version>${project.parent.version}</version>
</dependency>

改為

<dependency>
    <groupId>com.alibaba</groupId>
    <artifactId>dubbo</artifactId>
    <version>2.5.3</version>
</dependency>

重新build即可!

相關推薦

dubbo-admin構建

剛從GitHub下載下來的dubbo-admin直接構建彙報如下錯誤,原因是maven庫裡沒有該dubbo的jar包。 [INFO] Scanning for projects... [WARNING] [WARNING] Some problems wer

taro初始化構建

使用taro init myApp後想要打包,報錯,錯誤如下: npm ERR! enoent ENOENT: no such file or directory, open '/Users/zhengyi/Desktop/projects/taro/package.json'npm ERR!

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

dubbo專案啟動,無法載入org.apache.zookeeper.server.ZooTrace

INFO: Server startup in 3425 ms 七月 11, 2017 3:06:04 下午 org.apache.catalina.loader.WebappClassLoader

Dubbo消費者啟動

報錯如下:172.16.238.68是我的本機ip [DUBBO] Failed to start NettyClient TS20160418002/172.16.234.102 connect to the server /172.16.238.68:20

dubbo 使用 filter 解決

dubbo可以用filter實現類似tomcat filter過濾器. 實現     1. 介面請求時間監控.     2. 列印輸入輸出日誌(輸出日誌有應用自己決定) 配置時出現報錯. No such extension consumerStaticFilter for

Spring整合Dubbo時XML解決

spring整合dubbo時,xml配置檔案也遇到過這種情況。 dubbo配置檔案報錯 在配置dubbo服務的過程中,經常會遇到雖然程式能夠跑起來,但是配置檔案一堆紅叉,雖然不影響功能,但是確實很讓人噁心。 報錯資訊如下: Multiple annotations

spring dubbo 配置環境

在配置spring 4+dubbo的時候,會出現一種情況,由於dubbo本身依賴於spring 2.5,在使用maven構建專案的時候會導致jar檔案衝突,需要在pom.xml配置dubbo的時候除去低

搭建dubbo專案解決dubbo.xml標籤的問題

- 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

dubbo找不到dubbo.xsd,Multiple annotations found at this line:

參考http://blog.csdn.net/zbw18297786698/article/details/54582071 報錯: Multipleannotations found at this line: – cvc-complex-type.2.4.c: Th

maven構建程式包org.testng不存在

[INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ---------------------------------

maven專案構建Missing artifact com.****:jar:

maven專案執行update時候報錯如下 Description Resource Path Location Type Missing artifact com.iflytek.sgy:fastdfs-db:jar:1.2pom.xml /YZT-DataTransfe

Maven專案構建

Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one o

thinkphp3.2訪問後臺Admin模組,找不到控制器

thinkphp3.2版本較之前的thinkphp版本改動還是比較大的,主要還加入了專案中非常常見的多模組設計了 ok, 根據,thinkphp官方API顯示,加入這樣一句話,就可以擁有後臺模組了。

kyligence enterprise3.2.x版本使用mysql作為數據源構建

構建 idt port oop .project nbsp info conn field 1.報錯信息如下: exe cmd:null/bin/sqoop import -Dorg.apache.sqoop.splitter.allow_text_splitter=tr

解決 dubbo-admin版本是2.5.4-SNAPSHOT 在jdk8執行的方法

1、webx的依賴改為3.1.6版; <dependency> <groupId>com.alibaba.citrus</groupId> <artifactId>citrus-web

dubbo-admin在jdk1.8下問題(已解決)

在虛擬機器上部署dubbo-admin的時候報錯: ERROR context.ContextLoader - Context initialization failed org.springframework.beans.factory.BeanCreationExce

spring pom文件:提示no declaration can be found for element 'dubbo:service'.

net 技術 found cnblogs 點擊 找到 inf 提示 src 轉自:http://blog.csdn.net/happylife_haha/article/details/52755425 pom文件報錯:The matching wildcard is st

dubbo spring pom文件:提示no declaration can be found for element 'dubbo:service'.

valid windows validate tex file lib window win fcm pom文件報錯:The matching wildcard is strict, but no declaration can be found for element

jenkins構建項目發送郵件

config 增加 發送郵件 執行命令 alt ges conf -1 nbsp 發送郵件的文件夾,中的config文件,編輯發送郵件的人名 2,jenkins增加構建後操作,添加exe文件路徑到jenkins執行命令中 jenkins構建項目報錯發送郵件