经典错误:无法更新中心的索引| http://repo1.maven.org/maven2 [英] Classic error: Unable to update index for central|http://repo1.maven.org/maven2
问题描述
我正面临着一个情况,我的日食靛蓝是无法更新中心的索引| http://repo1.maven.org/maven2
。
I am facing a situation where my eclipse indigo is "Unable to update index for central|http://repo1.maven.org/maven2"
.
我正在使用外部Maven 3.0.3安装和m2eclipse配置与Eclipse Indigo
,我绝对不在任何代理。
I am using an external Maven 3.0.3 installation and m2eclipse configured with Eclipse Indigo and I am definitely not behind any proxy.
此外,我的eclipse中的网络配置都设置为直接,我仍然无法更新索引。
Also my networking configuration in eclipse is all set to direct and I am still unable to update the indices.
我可能忽略了什么?我在Google和其他论坛上搜索过,但无法解决。
What may I have overlooked? I have searched on Google and other forums but am unable to resolve it.
推荐答案
从Wojtek的链接。
$ b
From Wojtek's link.
- 关闭Eclipse
- 删除workspace_location / .metadata / .plugins / org.maven.ide.eclipse / nexus
- 删除workspace_location / .metadata / .plugins / org.eclipse.m2e.core / nexus
- 转到Window-> Preferences-> Maven并启用复选框启动时下载存储库索引更新。
- 确定并重新启动Eclipse。
- Close Eclipse
- Delete workspace_location/.metadata/.plugins/org.maven.ide.eclipse/nexus
- Delete workspace_location/.metadata/.plugins/org.eclipse.m2e.core/nexus
- Go to Window->Preferences->Maven and enable checkbox named "Download repository index updates on startup".
- OK and restart Eclipse.
这篇关于经典错误:无法更新中心的索引| http://repo1.maven.org/maven2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!