Cannot complete request to Marketplace不能打开eclipse marketplace

Posted ppjj

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Cannot complete request to Marketplace不能打开eclipse marketplace相关的知识,希望对你有一定的参考价值。

当打开eclipse marketplace的时候时候,发现有如下错误:

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Message:

Cannot install remote marketplace locations: Connection failed
This is most often caused by a problem with your internet connection. Please check your internet connection and retry.

Exception Stack Trace:

org.eclipse.core.runtime.CoreException: Unable to read repository at http://marketplace.eclipse.org/catalogs/api/p.
 at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.stream(RepositoryTransport.java:181)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at org.eclipse.epp.internal.mpc.core.util.AbstractP2TransportFactory.invokeStream(AbstractP2TransportFactory.java:35)
 at org.eclipse.epp.internal.mpc.core.util.TransportFactory$1.stream(TransportFactory.java:69)
 at org.eclipse.epp.internal.mpc.core.service.RemoteMarketplaceService.processRequest(RemoteMarketplaceService.java:131)
 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)

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

解决方案是修改eclipse.ini,然后重启eclipse

-vmargs
-Xmx512m
...
-Djava.net.preferIPv4Stack=true



本文转自:https://blog.csdn.net/faq_tong/article/details/41313381

















以上是关于Cannot complete request to Marketplace不能打开eclipse marketplace的主要内容,如果未能解决你的问题,请参考以下文章

weblogic.utils.NestedRuntimeException: Cannot parse POST parameters of request:

eclipse安装windowsbuilder时候出现问题:Cannot complete the install because one or more ...(如下)

Spring boot 启动报错: Protocol handler start failed | Cannot assign requested address: bind

mongodb启动错误(Failed to set up listener: SocketException: Cannot assign requested address)

nodejs报错 XMLHttpRequest cannot load localhost:3000/test_date/. Cross origin requests are only suppor

[译]Python - socket.error: Cannot assign requested address