V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
esolve
V2EX  ›  问与答

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

  •  
  •   esolve · Apr 23, 2017 · 1370 views
    This topic created in 3302 days ago, the information mentioned may be changed or developed.

    在看别人写的项目 项目里需要 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 replies    2017-04-23 18:18:49 +08:00
    esolve
        1
    esolve  
    OP
       Apr 23, 2017
    顶顶顶
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5893 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 57ms · UTC 06:14 · PVG 14:14 · LAX 23:14 · JFK 02:14
    ♥ Do have faith in what you're doing.