V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
esolve
V2EX  ›  问与答

Maven: Failure to transfer artifact 和 resolution will not be reattempted 错误

  •  
  •   esolve · 2017-04-23 17:16:05 +08:00 · 1055 次点击
    这是一个创建于 2595 天前的主题,其中的信息可能已经有所发展或是发生改变。

    在看别人写的项目 项目里需要 icepdf 这个包 import 后 resolve 不了 我看 pom 里没有这个包 就加了依赖如下:

    <dependency> <groupid>org.icepdf.os</groupid> <artifactid>icepdf-core</artifactid> <version>6.1.2</version> </dependency>

    结果就出现 Failure to transfer 错误了,而且针对的是其他包。。。

    诸如

    Failure to transfer javax.media:jai-core:jar:1.1.3 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact javax.media:jai-core:jar:1.1.3 from/to central ( https://repo.maven.apache.org/maven2): The operation was cancelled.

    有哪些可能的原因啊?

    1 条回复    2017-04-23 18:18:49 +08:00
    esolve
        1
    esolve  
    OP
       2017-04-23 18:18:49 +08:00
    顶顶顶
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   993 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 19:17 · PVG 03:17 · LAX 12:17 · JFK 15:17
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.