在下载maven依赖项时,我失去了互联网连接。稍后,当我尝试使用命令更新它时
mvn clean install -U我得到以下错误:
- 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 我能做些什么来解决依赖关系?
发布于 2017-05-29 06:37:13
从本地maven存储库中删除edu.mit:jwi:jar:2.2.3 (~/.m2/repository/edu/mit/jwi),然后重试。
https://stackoverflow.com/questions/44235968
复制相似问题