Classic error: Unable to update index for central|http://repo1.maven.org/maven2

后端 未结 5 1279
暗喜
暗喜 2020-12-05 02:57

I am facing a situation where my eclipse indigo is \"Unable to update index for central|http://repo1.maven.org/maven2\".

I am using an external Maven 3.

5条回答
  •  时光取名叫无心
    2020-12-05 03:18

    From Wojtek's link.

    1. Close Eclipse
    2. Delete workspace_location/.metadata/.plugins/org.maven.ide.eclipse/nexus
    3. Delete workspace_location/.metadata/.plugins/org.eclipse.m2e.core/nexus
    4. Go to Window->Preferences->Maven and enable checkbox named “Download repository index updates on startup”.
    5. OK and restart Eclipse.

提交回复
热议问题