gpt4 book ai didi

eclipse - 无法安装新的 Eclipse Helios 软件

转载 作者:行者123 更新时间:2023-12-02 18:57:59 26 4
gpt4 key购买 nike

我在通过 Eclipse Helios 的“安装新软件...”对话框下载新软件时遇到问题。它曾经在几周前工作,但现在当我尝试访问 Helios 官方网站时出现以下错误。

org.eclipse.equinox.p2.core.ProvisionException

Unable to read repository at http://download.eclipse.org/releases/helios.

这是我在错误日志中得到的内容:

eclipse.buildId=M20110210-1200
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_DK
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os linux -ws gtk -arch x86 -product org.eclipse.epp.package.java.product


Error
Thu Apr 21 12:56:41 CEST 2011
Unable to read repository at http://download.eclipse.org/releases/helios.

org.eclipse.equinox.p2.core.ProvisionException: Unable to read repository at http://download.eclipse.org/releases/helios.
at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepositoryFactory.load(CompositeMetadataRepositoryFactory.java:137)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:57)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:746)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:651)
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.equinox.p2.ui.ProvisioningUI.loadMetadataRepository(ProvisioningUI.java:388)
at org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.getMetadataRepository(MetadataRepositoryElement.java:120)
at org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.getRepository(MetadataRepositoryElement.java:109)
at org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.getQueryable(MetadataRepositoryElement.java:103)
at org.eclipse.equinox.internal.p2.ui.QueryProvider.getQueryDescriptor(QueryProvider.java:54)
at org.eclipse.equinox.internal.p2.ui.model.QueriedElement.fetchChildren(QueriedElement.java:102)
at org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.fetchChildren(MetadataRepositoryElement.java:72)
at org.eclipse.equinox.internal.p2.ui.model.RemoteQueriedElement.fetchDeferredChildren(RemoteQueriedElement.java:34)
at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:235)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.io.IOException: http://download.eclipse.org/releases/helios is not a valid repository location.
at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepositoryFactory.load(CompositeMetadataRepositoryFactory.java:113)
... 15 more

我使用wireshark来查看当我请求更新站点时eclipse到底做了什么,并且我发现它在主机download.eclipse.org上对页面“/releases/helios/p2”执行了HTTP GET请求.index”(不带引号),并且它从网络服务器收到 404 错误。这是我导航到 http://download.eclipse.org/releases/helios/p2.index 时得到的结果也是如此。

有人有同样的问题吗?我的设置是否有混淆?有人有办法解决我的问题吗?或者你们需要更多信息吗?

最佳答案

bug 341665提出了类似的案例,并具有解决方法 using a mirror :

I found where the problem is. I'm here in China, and I can't access http://www.gtlib.gatech.edu/pub/eclipse/releases/helios/, where http://download.eclipse.org/releases/helios/compositeContent.jar is redirected to, because our government has blocked the access to http://www.gtlib.gatech.edu/*

So please change a repository to help us developers in China. Thank you.

[回复][-]评论5shishing366@gmail.com 2011-04-15 20:47:08 EDT

我找到了解决方法:
使用http://mirror.neu.edu.cn/eclipse/releases/helios/而不是http://download.eclipse.org/releases/helios

注意,如 bug 325299 中所述:

There is an ordering for the files that we look for when we connect to a server:

  • compositeContent.jar
  • compositeContent.xml
  • content.jar
  • content.xml
  • site.xml

关于eclipse - 无法安装新的 Eclipse Helios 软件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5743252/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com