【问题标题】:Unable to open eclipse marketplace无法打开日食市场
【发布时间】:2013-10-05 12:30:43
【问题描述】:

我已经在 ubuntu 13.04 64 位上安装了 eclipse kepler 64 位。

当我尝试打开 Eclipse 市场时,我收到以下错误:

Cannot open Eclipse Marketplace
Cannot install remote marketplace locations: Cannot complete request to http://marketplace.eclipse.org/catalogs/api/p: Content is not allowed in prolog.
Cannot complete request to http://marketplace.eclipse.org/catalogs/api/p: Content is not allowed in prolog.
Content is not allowed in prolog.
Cannot complete request to http://marketplace.eclipse.org/catalogs/api/p: Content is not allowed in prolog.
Content is not allowed in prolog.

然后我检查了日志,发现以下内容:

eclipse.buildId=4.3.0.M20130911-1000
java.version=1.7.0_25
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_IN
Framework arguments:  -vm /usr/lib/jvm/java-7-openjdk-amd64/jre -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -vm /usr/lib/jvm/java-7-openjdk-amd64/jre -product org.eclipse.epp.package.jee.product

Error
Sun Sep 29 20:57:29 IST 2013
Cannot parse XML at URL http://marketplace.eclipse.org/catalogs/api/p

org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1236)
    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:568)
    at org.eclipse.epp.internal.mpc.core.service.RemoteMarketplaceService.processRequest(RemoteMarketplaceService.java:138)
    at org.eclipse.epp.internal.mpc.core.service.RemoteMarketplaceService.processRequest(RemoteMarketplaceService.java:85)
    at org.eclipse.epp.internal.mpc.core.service.RemoteMarketplaceService.processRequest(RemoteMarketplaceService.java:72)
    at org.eclipse.epp.internal.mpc.core.service.DefaultCatalogService.listCatalogs(DefaultCatalogService.java:36)
    at org.eclipse.epp.internal.mpc.ui.commands.MarketplaceWizardCommand$5.run(MarketplaceWizardCommand.java:254)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

我也尝试打开网址:http://marketplace.eclipse.org/catalogs/api/p

但它给出了以下响应:

This file is part of MediaWiki and is not a valid entry point

所以我想知道为什么会发生这个错误??

【问题讨论】:

  • Ask Ubuntu问这个问题
  • @HansUp 问题不在于 ubuntu,而在于 Eclipse。如果我在 Windows 上遇到同样的错误,我应该在哪里问?
  • Eclipse 市场服务器已关闭。
  • 遇到了同样的错误。即使我认为市场服务器已关闭,因为该错误之前尚未在 Google 的索引中报告过。
  • 同样的问题,运行 OS X。

标签: eclipse ubuntu eclipse-marketplace


【解决方案1】:

我现在有同样的问题(1.2. 2015)。看图片。 Eclipse Marketplace 不工作,无法打开。

需要两天时间,eclipse市场仍然无法访问。您可以 ping 服务器,但服务无法正常工作。当我请求支持时,他们告诉我,问题应该在他们这边。因此,在我看来,在大多数情况下,它与您的发行版无关。您必须等待,直到他们修复它。

在 90% 的情况下,您可以通过使用更新站点来绕过它。

【讨论】:

    【解决方案2】:

    我在使用 Windows XP 时遇到了同样的问题,并通过在 窗口 → 首选项 → 安装/更新 → 可用软件站点下添加导致问题的站点 http://marketplace.eclipse.org/catalogs/api/p 解决了这个问题>

    这帮助我解决了问题并能够使用 Eclipse Marketplace 安装插件。

    【讨论】:

      【解决方案3】:

      我发现 this 建议将 -Djava.net.preferIPv4Stack=true 添加到您的 .ini 文件中。

      当我遇到同样的问题时,这对我有用。

      【讨论】:

        【解决方案4】:

        面临同样的问题,可能是 Eclipse Market Place 站点的问题,与 Windows 7 或 Ubuntu 无关。 我在具有 Windows 7 和 Ubuntu 12.0.4 LTS 的 VM 上运行,两种环境的响应相同。 我们可能需要等待 Eclipse Market 启动。

        【讨论】:

        • 希望 Eclipse Market Place 现已上线,我可以使用它。
        • 到现在还没有
        【解决方案5】:

        我也无法访问http://marketplace.eclipse.org/ 它目前给出了一个错误:

        此文件是 MediaWiki 的一部分,不是有效的入口点

        所以只想等待市场服务器再次上线

        【讨论】:

          【解决方案6】:

          问题是日食市场。服务器可能已关闭或其他问题。

          http://marketplace.eclipse.org/

          This file is part of MediaWiki and is not a valid entry point
          

          【讨论】:

            【解决方案7】:

            我也无法通过 Eclipse 访问市场(win 7 pro x64,目前没有激活防病毒/防火墙)。我还尝试通过单击“从 Eclipse 市场下载”从http://eclipsecolorthemes.org/?view=theme&id=181 下载 Eclipse 主题插件 - 同样的错误:“此文件是 MediaWiki 的一部分,不是有效的入口点”。很可能整个市场都在倒闭。

            【讨论】:

              【解决方案8】:

              http://marketplace.eclipse.org/catalogs/api/p的回复大概也是你的答案。

              我在 Windows 7 中遇到了同样的问题。由于我在 Google 上也找不到任何东西,所以我猜这是由 marketplace.eclipse.org 服务器上的一些错误引起的临时问题。 我尝试安装 Kepler for Java 程序员和标准版,在尝试访问市场时都返回相同的错误。

              祝你好运。

              【讨论】:

              • Eclipse 新闻组中报告了同样的问题
              猜你喜欢
              • 2014-01-05
              • 1970-01-01
              • 1970-01-01
              • 2021-01-15
              • 1970-01-01
              • 1970-01-01
              • 1970-01-01
              • 2017-06-02
              • 1970-01-01
              相关资源
              最近更新 更多