您的位置:首页 > 编程语言 > Java开发

Cannot open Eclipse Marketplace

2016-02-14 09:25 716 查看
1、运行eclipse的时候,想升级一下插件,一直不能连接网络,报错

错误:

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.

Unable to read repository athttp://marketplace.eclipse.org/catalogs/api/p.

Connection reset

Connection failed

This is most often caused by a problem with your internet connection.Please check your internet connection and retry.

Connection reset

解决办法

找来找去没找到解决办法,在stackoverflow中http://stackoverflow.com/questions/19080752/unable-to-open-eclipse-marketplace终于看到描述,在eclipse.ini中增加

-Djava.net.preferIPv4Stack=true
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: