eclipse 无法打开日食市场
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/19080752/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Unable to open eclipse marketplace
提问by Anil Bharadia
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 :
当我尝试打开 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.
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.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 ??
所以我想知道为什么会发生这个错误?
回答by ZvL
The response of http://marketplace.eclipse.org/catalogs/api/pis 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. I've tried installing Kepler for Java programmers and the Standard edition, both return the same error when trying to access the marketplace.
我在 Windows 7 中遇到了同样的问题。而且由于我在 Google 上找不到任何东西,我猜测这是由 market.eclipse.org 服务器上的一些错误引起的临时问题。我试过为 Java 程序员安装 Kepler 和标准版,在尝试访问市场时都返回相同的错误。
Good luck.
祝你好运。
回答by Pureferret
回答by Reema
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/punder Window → Preferences → Install/Update → Available software Site
我在 Windows XP 中遇到了同样的问题,并通过在窗口 → 首选项 → 安装/更新 → 可用软件站点下添加导致问题的站点来解决它http://marketplace.eclipse.org/catalogs/api/p
This helped me solve the issue and able to install the plugin using Eclipse Marketplace.
这帮助我解决了这个问题,并且能够使用 Eclipse Marketplace 安装插件。
回答by Daniel Perník
I have same problem now (1.2. 2015). Look at the picture. Eclipse Market place not working, unable to open it.
我现在有同样的问题(1.2. 2015)。看图片。Eclipse Market 无法正常工作,无法打开。
It takes two days and eclipse market place is still inaccessible. You can ping server, but service is not working. 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.
需要两天时间,eclipse市场仍然无法进入。您可以 ping 服务器,但服务不工作。当我寻求支持时,他们告诉我,问题应该在他们这边。因此,在我看来,在大多数情况下,它与您的发行版没有关系。你必须等待,直到他们修复它。
You can bypass it by using update sites in 90% cases.
在 90% 的情况下,您可以通过使用更新站点来绕过它。
回答by mmm
I cannot access the marketplace via Eclipse as well (win 7 pro x64, no antivirus/firewall active at the moment). I also tried to download the eclipse theme plugin from http://eclipsecolorthemes.org/?view=theme&id=181by clicking 'Download from Eclipse Marketplace' - same error: 'This file is part of MediaWiki and is not a valid entry point'. Most likely the whole marketplace is down.
我也无法通过 Eclipse 访问市场(win 7 pro x64,目前没有防病毒软件/防火墙处于活动状态)。我还尝试通过单击“从 Eclipse Marketplace 下载”从http://eclipsecolorthemes.org/?view=theme&id=181下载 eclipse 主题插件- 同样的错误:“此文件是 MediaWiki 的一部分,不是有效的入口点'。很可能整个市场都在下跌。
回答by kfatih
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
回答by ErgEro
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
所以只想做的就是等待marketplace服务器重新上线
回答by Samy
Facing the same issue, probably issue with Eclipse Market Place site, its not something to do with Windows 7 or Ubuntu. I am running on VM, which has Windows 7 and Ubuntu 12.0.4 LTS, response is same on both environments. We may have to wait for the Eclipse Market place to be up.
面临同样的问题,可能是 Eclipse Market Place 站点的问题,它与 Windows 7 或 Ubuntu 无关。我在具有 Windows 7 和 Ubuntu 12.0.4 LTS 的 VM 上运行,两种环境的响应相同。我们可能需要等待 Eclipse Market 上线。