简体   繁体   English

无法打开eclipse市场

[英]Unable to open eclipse marketplace

I have installed eclipse kepler 64 bit on ubuntu 13.04 64 bit. 我在ubuntu 13.04 64位上安装了eclipse kepler 64位。

when i try to open the eclipse marketplace, i am getting following error : 当我尝试打开日食市场时,我收到以下错误:

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.

then i checked the log and found following : 然后我检查了日志,发现以下内容:

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)

i also tried to open the url : http://marketplace.eclipse.org/catalogs/api/p 我也尝试打开网址: http//marketplace.eclipse.org/catalogs/api/p

but it gives following response : 但它给出了以下回应:

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

So i am wondering why this error occurred ?? 所以我想知道为什么会出现这个错误?

The response of http://marketplace.eclipse.org/catalogs/api/p is probably also your answer. http://marketplace.eclipse.org/catalogs/api/p的回复可能也是你的答案。

I'm having the same problem in Windows 7. And since i couldn't find anything on Google either i'm guessing this is a temporary problem caused by some bug at the marketplace.eclipse.org server. 我在Windows 7中遇到了同样的问题。由于我在谷歌上找不到任何东西,我猜这是由marketplace.eclipse.org服务器上的一些错误引起的临时问题。 I've tried installing Kepler for Java programmers and the Standard edition, both return the same error when trying to access the marketplace. 我尝试为Java程序员和标准版安装Kepler,在尝试访问市场时都返回相同的错误。

Good luck. 祝好运。

I found this which suggested adding -Djava.net.preferIPv4Stack=true to your .ini file. 我发现建议将-Djava.net.preferIPv4Stack=true添加到.ini文件中。

This worked for me when I had the same issue. 当我遇到同样的问题时,这对我有用。

I faced the same issue with Windows XP and solved it by adding the site which caused the problem http://marketplace.eclipse.org/catalogs/api/p under Window → Preferences → Install/Update → Available software Site 我在Windows XP中遇到了同样的问题,并在Window→Preferences→Install / Update→Available software Site下添加导致问题的网站http://marketplace.eclipse.org/catalogs/api/p解决了这个问题。

This helped me solve the issue and able to install the plugin using Eclipse Marketplace. 这有助于我解决问题并能够使用Eclipse Marketplace安装插件。

I cannot access the marketplace via Eclipse as well (win 7 pro x64, no antivirus/firewall active at the moment). 我也无法通过Eclipse访问市场(win 7 pro x64,目前没有激活防病毒/防火墙)。 I also tried to download the eclipse theme plugin from http://eclipsecolorthemes.org/?view=theme&id=181 by clicking 'Download from Eclipse Marketplace' - same error: 'This file is part of MediaWiki and is not a valid entry point'. 我还尝试通过点击“从Eclipse Marketplace下载”从http://eclipsecolorthemes.org/?view=theme&id=181下载eclipse主题插件 - 同样的错误:'此文件是MediaWiki的一部分,不是有效的入口点”。 Most likely the whole marketplace is down. 很可能整个市场都在萎缩。

Problem is eclipse marketplace. 问题是日食市场。 Server probably down or another problem. 服务器可能已关闭或其他问题。

http://marketplace.eclipse.org/ http://marketplace.eclipse.org/

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

I can't also access to http://marketplace.eclipse.org/ It currently gives an error: 我也无法访问http://marketplace.eclipse.org/它目前给出了一个错误:

This file is part of MediaWiki and is not a valid entry point 此文件是MediaWiki的一部分,不是有效的入口点

So only think to do is wait for marketplace server to be online again 所以只想等待市场服务器再次上线

Facing the same issue, probably issue with Eclipse Market Place site, its not something to do with Windows 7 or Ubuntu. 面对同样的问题,可能是Eclipse Market Place网站问题,它与Windows 7或Ubuntu无关。 I am running on VM, which has Windows 7 and Ubuntu 12.0.4 LTS, response is same on both environments. 我在VM上运行,它有Windows 7和Ubuntu 12.0.4 LTS,两种环境的响应相同。 We may have to wait for the Eclipse Market place to be up. 我们可能不得不等待Eclipse Market的发展。

I have same problem now (1.2. 2015). 我现在有同样的问题(1.2。2015)。 Look at the picture. 看看图片。 Eclipse Market place not working, unable to open it. Eclipse Market无法正常工作,无法打开它。

It takes two days and eclipse market place is still inaccessible. 需要两天时间,日食市场仍然无法进入。 You can ping server, but service is not working. 您可以ping服务器,但服务无法正常工作。 When I asked support, they told me, the problem should be on their side. 当我问支持时,他们告诉我,问题应该在他们身边。 So, in my opinion, it have not connection with your distribution in most cases. 因此,在我看来,在大多数情况下,它与您的发行版没有关系。 You have to wait, until they fix it. 你必须等待,直到他们解决它。

You can bypass it by using update sites in 90% cases. 您可以在90%的情况下使用更新站点绕过它。

在此输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM