Maven项目导入包失败问题
问题1
1 | xxxxxx failed to transfer from https://maven.aliyun.com/repository/public during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of aliyunmaven has elapsed or updates are forced. Original error: Could not transfer artifact xxxxxx from/to aliyunmaven (https://maven.aliyun.com/repository/public): transfer failed for https://maven.aliyun.com/repository/public/xxxxxxx |
意思是: 对于这个包从maven中心传输到本地仓库失败,决定不会重新尝试下载jar包,直到mavn再改更新索引,或强制更新。
解决办法:去本地仓库:将相关的包删除,然后刷新。
去相应位置删除即可
最后点击maven的刷新按钮
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 Torch's blog!