无法打开Eclipse Marketplace无法安装远程市场位置:连接失败 [英] Cannot open Eclipse Marketplace | Cannot install remote marketplace locations: Connection failed
问题描述
我在使用Eclipse Marketplace时遇到了持续的问题。我正在使用Eclipse Neon。我正在使用宽带Internet连接,并且我的Eclipse网络配置是本地的。
错误是:
无法打开Eclipse Marketplace
无法安装远程市场位置:连接失败
这通常是由您的互联网连接问题引起的。请检查您的互联网连接,然后重试。 nofollow noreferrer> http://marketplace.eclipse.org/catalogs/api/p :无法读取
解决方案已解决。请按照以下步骤操作:-
- 打开命令提示符。
- 右键单击命令提示符左上方,选择属性,然后启用快速编辑模式。
- 在cmd上键入以下行:-setx
_JAVA_OPTIONS -Djava.net.preferIPv4Stack = true
,
按Enter。
- 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 failedThis 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 failedThis 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: connectScreenshot of error:
解决方案Solved it. Follow following steps:-
- Open command prompt.
- Right click on top left of command prompt, select properties, and enable quick edit mode.
- Type following line on cmd:- setx
_JAVA_OPTIONS -Djava.net.preferIPv4Stack=true
, Hit enter.- cmd will prompt:- SUCCESS: Specified value was saved.
Restart eclipse.
这篇关于无法打开Eclipse Marketplace无法安装远程市场位置:连接失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!