重建Maven指数坚持0% [英] Rebuilding Maven indexes Stuck at 0%
本文介绍了重建Maven指数坚持0%的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试
解决方案
- 离开Eclipse
- 转到[ your-workspace-folder]
- 删除.metadata / .plugins / org.eclipse.m2e.core / nexus
- 删除.metadata / .plugins /org.maven.ide.eclipse/nexus
- 重启Eclipse
如果不是帮助,尝试
- 删除[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
解决方案
- Leave Eclipse
- Go to [your-workspace-folder]
- Remove .metadata/.plugins/org.eclipse.m2e.core/nexus
- Remove .metadata/.plugins/org.maven.ide.eclipse/nexus
- Restart Eclipse
If it does not help, try also
- 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屋!
查看全文