首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >internet连接丢失后的maven依赖错误

internet连接丢失后的maven依赖错误
EN

Stack Overflow用户
提问于 2017-05-29 06:35:05
回答 1查看 148关注 0票数 1

在下载maven依赖项时,我失去了互联网连接。稍后,当我尝试使用命令更新它时

代码语言:javascript
复制
mvn clean install -U

我得到以下错误:

代码语言:javascript
复制
- Failure to transfer edu.mit:jwi:jar:2.2.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 edu.mit:jwi:jar:2.2.3 from/to 
     central (https://repo.maven.apache.org/maven2): repo.maven.apache.org org.eclipse.aether.transfer.ArtifactTransferException: Failure to transfer 
     edu.mit:jwi:jar:2.2.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 edu.mit:jwi:jar:2.2.3 from/to central (https://
     repo.maven.apache.org/maven2): repo.maven.apache.org at 
     org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:238) at 
     org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:206) at 

我能做些什么来解决依赖关系?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2017-05-29 06:37:13

从本地maven存储库中删除edu.mit:jwi:jar:2.2.3 (~/.m2/repository/edu/mit/jwi),然后重试。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/44235968

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档