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

2017-04-23 17:16:05 +08:00
 esolve

在看别人写的项目 项目里需要 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.

有哪些可能的原因啊?

1061 次点击
所在节点    问与答
1 条回复
esolve
2017-04-23 18:18:49 +08:00
顶顶顶

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/356806

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX