eclipse - 无法打开 eclipse 市场

标签 eclipse ubuntu eclipse-marketplace

我已经在 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

所以我想知道为什么会出现这个错误??

最佳答案

http://marketplace.eclipse.org/catalogs/api/p的响应可能也是你的答案。

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

祝你好运。

关于eclipse - 无法打开 eclipse 市场,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19080752/

相关文章:

javascript - Eclipse:哪些插件适用于 HTML 和 Javascript?

android - 为 android 开发,有没有办法让 eclipse 在仅修改其库源时重建应用程序?

ubuntu - Redis - 连接到远程服务器

c++ - PX4/固件出现错误

eclipse - 如何在 Eclipse Classic 中安装 Eclipse Marketplace?

ubuntu - Eclipse Indigo 市场

java - 将嵌入式插件 jar 文件添加到项目中

java - Red Hat JBoss Developer Studio 和普通 eclipse IDE 的区别

javascript - 错误 : spawn EACCES in ubuntu for node. js/express 应用程序尝试运行 python

eclipse - 无法在 Eclipse 中添加 SoapUI 插件