无法打开Eclipse Marketplace无法安装远程市场位置:连接失败 [英] Cannot open Eclipse Marketplace | Cannot install remote marketplace locations: Connection failed

查看:140
本文介绍了无法打开Eclipse Marketplace无法安装远程市场位置:连接失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用Eclipse Marketplace时遇到了持续的问题。我正在使用Eclipse Neon。我正在使用宽带Internet连接,并且我的Eclipse网络配置是本地的。



错误是:


无法打开Eclipse Marketplace

  无法安装远程市场位置:连接失败



    这通常是由您的互联网连接问题引起的。请检查您的互联网连接,然后重试。 nofollow noreferrer> http://marketplace.eclipse.org/catalogs/api/p :无法读取

解决方案

已解决。请按照以下步骤操作:-


  1. 打开命令提示符。

  2. 右键单击命令提示符左上方,选择属性,然后启用快速编辑模式。

  3. 在cmd上键入以下行:-setx _JAVA_OPTIONS -Djava.net.preferIPv4Stack = true
    按Enter。

  4. cmd会提示:-成功:已保存指定的值。

重新开始蚀。


I am getting consistent problem in using Eclipse Marketplace. I am using Eclipse Neon. I am using broadband internet connection and my network configuration for Eclipse is native.

The error is:

Cannot open Eclipse Marketplace
  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.
    Cannot complete request to http://marketplace.eclipse.org/catalogs/api/p: Unable to read repository at http://marketplace.eclipse.org/catalogs/api/p.
  Address family not supported by protocol family: connect
Connection failed

This is most often caused by a problem with your internet connection. Please check your internet connection and retry.
Address family not supported by protocol family: connect

Screenshot of error:

解决方案

Solved it. Follow following steps:-

  1. Open command prompt.
  2. Right click on top left of command prompt, select properties, and enable quick edit mode.
  3. Type following line on cmd:- setx _JAVA_OPTIONS -Djava.net.preferIPv4Stack=true, Hit enter.
  4. cmd will prompt:- SUCCESS: Specified value was saved.

Restart eclipse.

这篇关于无法打开Eclipse Marketplace无法安装远程市场位置:连接失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆