EclipseIDE安装失败,因为它无法找到mars存储库

jq6vz3qz  于 2021-07-13  发布在  Java
关注(0)|答案(1)|浏览(437)

我从eclipse.org下载了“eclipse-inst-win64.exe”,在运行“eclipse ide for java developers”的安装时,出现如下错误:

ERROR: org.eclipse.equinox.p2.metadata.repository code=1000 No repository found at http://download.eclipse.org/technology/epp/packages/mars.
  at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.fail(AbstractRepositoryManager.java:395)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at java.lang.reflect.Method.invoke(Unknown Source)
  at org.eclipse.oomph.util.ReflectUtil.invokeMethod(ReflectUtil.java:116)
  at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager.fail(CachingRepositoryManager.java:283)
  at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager.loadRepository(CachingRepositoryManager.java:186)
  at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager$Metadata.loadRepository(CachingRepositoryManager.java:389)
  at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)
  at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)
  at org.eclipse.oomph.p2.internal.core.ProfileTransactionImpl$RepositoryLoader$Worker.perform(ProfileTransactionImpl.java:1468)
  at org.eclipse.oomph.util.WorkerPool$Worker.run(WorkerPool.java:416)
  at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
vm0i2vca

vm0i2vca1#

有一些eclipse bug与此相关。所有线程似乎都是通过删除 $HOME/.eclipse/org.eclipse.oomph.p2/cache 目录。
https://bugs.eclipse.org/bugs/show_bug.cgi?id=471528#c7
https://bugs.eclipse.org/bugs/show_bug.cgi?id=470900
http://eclipse.1072660.n5.nabble.com/no-repository-found-exception-td175271.html
如果这已经返回到可执行文件中,您可能需要打开一个新的bug。
同时,您可能需要安装以前的版本luna,尽管我会先尝试安装32位版本的mars。

相关问题