2013-01-10 22 views
4

,同時建立giraph罐子我們得到以下警告依賴..真的不知道如何解決這些。我們已經嘗試過的Maven 3警告:如果不轉移ASM:ASM/Maven的metadata.xml中

useProjectArtifact爲假

解壓爲真

都dosent似乎工作

任何建議如何解決這些...?

[WARNING] Failure to transfer asm:asm/maven-metadata.xml from file:../../local.repository/trunk was cached in the local repository, resolution will not be reattempted until the update interval of local.repository has elapsed or updates are forced. Original error: Could not transfer metadata asm:asm/maven-metadata.xml from/to local.repository (file:../../local.repository/trunk): No connector available to access repository local.repository (file:../../local.repository/trunk) of type legacy using the available factories WagonRepositoryConnectorFactory 

[WARNING] Failure to transfer asm:asm/maven-metadata.xml from file:../../local.repository/trunk was cached in the local repository, resolution will not be reattempted until the update interval of local.repository has elapsed or updates are forced. Original error: Could not transfer metadata asm:asm/maven-metadata.xml from/to local.repository (file:../../local.repository/trunk): No connector available to access repository local.repository (file:../../local.repository/trunk) of type legacy using the available factories WagonRepositoryConnectorFactory 
+1

代理的背後?防火牆? – khmarbaise

+0

防火牆已禁用.. – Pradeep

+0

您是否更改了settings.xml? – khmarbaise

回答

0

這看起來像一個連接問題,代理服務器或防火牆,所以你可以將輪廓此解決方案:

  • 明確指ASM的依賴。看看正確的版本,並嘗試將其添加到您的pom(http://mvnrepository.com/artifact/asm/asm)。之後,執行mvn install以確保一切正常。

  • 如果它不工作,你可以嘗試手動下載的依賴,並將其複製到本地資源庫(本地文件夾」 .m2" 目錄)內,可能是在‘/.m2/asm/asm/’。這不是最好的解決方案,但也許這可以解決你的問題。

希望它有幫助!

相關問題