gpt4 book ai didi

maven-2 - Maven 3 警告 : Failure to transfer asm:asm/maven-metadata. xml

转载 作者:行者123 更新时间:2023-12-01 06:36:33 30 4
gpt4 key购买 nike

在构建具有依赖项的 giraph jar 时,我们收到以下警告.. 真的不知道如何解决这些.. 我们已经尝试过了

useProjectArtifact 为 false

解压为真

两者似乎都有效

任何建议如何解决这些......?

[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

最佳答案

这看起来像是连接问题、代理或防火墙问题,因此您可以勾勒出以下解决方案:

  • 显式引用 ASM 依赖项。查看正确的版本并尝试将其添加到您的 pom ( http://mvnrepository.com/artifact/asm/asm ) 中。之后,执行 mvn install以确保一切正常。
  • 如果它不起作用,您可以尝试手动下载依赖项并将其复制到本地存储库(本地文件夹“.m2”)中,可能位于“/.m2/asm/asm/”。不是最好的解决方案,但也许这可以解决您的问题。

  • 希望能帮助到你!

    关于maven-2 - Maven 3 警告 : Failure to transfer asm:asm/maven-metadata. xml,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14254365/

    30 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com