重建Maven指数坚持0% [英] Rebuilding Maven indexes Stuck at 0%

查看:170
本文介绍了重建Maven指数坚持0%的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试

解决方案


  1. 离开Eclipse

  2. 转到[ your-workspace-folder]

  3. 删除.metadata / .plugins / org.eclipse.m2e.core / nexus

  4. 删除.metadata / .plugins /org.maven.ide.eclipse/nexus

  5. 重启Eclipse

如果不是帮助,尝试


  1. 删除[your-home-folder] /。m2 / repository / .cache / m2e / $ {m2e.version}。

另见


I am trying to rebuild the Maven index in Eclipse, but it has been stuck at 0% for hours.

I can't find any results when trying to add dependencies. I have tried running Eclipse as an Administrator and ticking "update repositories" on startup, but neither option worked.

I am using Windows 8.1 Enterprise Edition

解决方案

  1. Leave Eclipse
  2. Go to [your-workspace-folder]
  3. Remove .metadata/.plugins/org.eclipse.m2e.core/nexus
  4. Remove .metadata/.plugins/org.maven.ide.eclipse/nexus
  5. Restart Eclipse

If it does not help, try also

  1. remove [your-home-folder]/.m2/repository/.cache/m2e/${m2e.version}.

See also https://stackoverflow.com/a/16444984/2886891


To prevent the impact of various bugs from the m2e plugin, I prefer using always the external maven (you have to have it installed of course):

这篇关于重建Maven指数坚持0%的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆