maven从私服下载依赖包时如果失败会形成 *.lastUpdated文件,这种文件使得再次下载时不会再去私服中下载。

所以得把它清除掉再找问题,http://www.cnblogs.com/shuaiqing/p/5671301.html

出现 *.lastUpdated文件 多半是因为网络问题。也有可能是mirror地址有问题。

maven 镜像 一直下载 .lastUpdated

我遇到的问题就是公司库挂了,对应做处理就行了。

如果你确定网络没问题,*.lastUpdated文件也删掉了,但是还是不行,那八成你的repository库里有.properties文件或者其他不是jar包的文件,删掉之后再eclipse update maven应该就可以了(参照删除*.lastUpdated文件的方法)


相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-04
  • 2021-11-30
  • 2021-11-22
  • 2021-11-22
  • 2021-10-06
猜你喜欢
  • 2021-08-20
  • 2022-01-02
  • 2022-12-23
  • 2022-12-23
  • 2021-09-14
  • 2022-02-03
  • 2021-12-28
相关资源
相似解决方案