Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to open eclipse marketplace

I have installed eclipse kepler 64 bit on ubuntu 13.04 64 bit.

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

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 ??

like image 782
Anil Bharadia Avatar asked Sep 29 '13 17:09

Anil Bharadia


4 Answers

The response of http://marketplace.eclipse.org/catalogs/api/p is probably also your answer.

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.

Good luck.

like image 197
ZvL Avatar answered Oct 06 '22 19:10

ZvL


I found this which suggested adding -Djava.net.preferIPv4Stack=true to your .ini file.

This worked for me when I had the same issue.

like image 32
AncientSwordRage Avatar answered Oct 06 '22 19:10

AncientSwordRage


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

This helped me solve the issue and able to install the plugin using Eclipse Marketplace.

like image 2
Reema Avatar answered Oct 06 '22 20:10

Reema


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=181 by 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.

like image 1
mmm Avatar answered Oct 06 '22 21:10

mmm