maven问题-"resolution will not be reattempted until the update interval of MyRepo has elapsed"


最近在家里写maven程序的时候老是出现问题,有些问题到了公司就突然消失了。

在修改pom文件后保存的反应还是比较明显的,家里的网遇到有些依赖根本下载不了。。墙。

但是到了公司,不但速度快,几乎啥都能下载,,大概是因为这些需要的在私服上有存着有吧。

每次在家里构件项目失败,失败的次数多了,搞的我都以为是我pom文件哪里写错了。

这次其它的项目都好用(以前的是一片全坏了,,),就一个插件项目坏了,我也看它加载了好久都没反应,肯定是网络的原因,于是准备去公司用公司的jiluyou加载试试。

结果正巧今天的jiluyou也上不去国外的网了,只好自己找vpn,找了半天算是找到比较好用的了。

然后还是提示“resolution will not be reattempted until the update interval of MyRepo has elapsed”,

我看了看,大概的意思应该就是网络连接失败次数太多了,都懒得再尝试了。

但是我换了网络了啊,于是我试了试reindex,还是不行。

最后在stackoverflow上找到建议。

去本地仓库把plugin-plugin这个给删了,然后update一下项目就自动开始加载起来,然后就ok了。

总结:
1.reindex
2.删repository


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



猜您在找 resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced maven 下载jar失败: resolution will not be reattempted until the update interval of central has elapsed or updates are forced Failure to find ... was cached in the local repository, resolution will not be reattempted until the update interval of public has elapsed or updates are forced 问题解决 resolution will not be reattempted until the update interval of repository-group has elapsed or updates are forced was cached in the local repository, resolution will not be reattempted until the update interval of fintech has elapsed or updates are forced pom文件报错: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 Maven-010-maven 编译报错:Failure to ... in ... was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced. Failure to find xxx in xxx was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced @ xxx maven执行报错resolution will not be reattempted until the update interval of nexus h Maven 2种异常解决方案: Failure to transfer org.apache.maven 和 Project build error: Non-resolvable parent POM for resolution will not be reattempted until the update interval of central has elapsed or upd
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM