maven 添加jar包是报错

qq_22520739 2016-05-24 11:08:55

ArtifactTransferException: Failure to transfer org.springframework:spring-context:jar:4.2.6.RELEASE from http://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
org.springframework:spring-context:jar:4.2.6.RELEASE from/to central (http://repo.maven.apache.org/maven2): No response received after 60000
...全文
441 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
qq_22520739 2016-05-25
  • 打赏
  • 举报
回复
嘿嘿,刚开始用不懂,谢谢哈
街头小贩 2016-05-25
  • 打赏
  • 举报
回复
可能没看全。你要maven spring只要写

<dependencies>
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-context</artifactId>
        <version>3.2.17.RELEASE</version>
    </dependency>
</dependencies>
不用,context,bean,tx都一个一个写出来
海兰 2016-05-25
  • 打赏
  • 举报
回复
你这个不算是错误,只是连接不到maven自己的中央仓库~

24,923

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 Apache
社区管理员
  • Apache
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧