我是靠谱客的博主 难过小蝴蝶,这篇文章主要介绍eclipse问题 Cannot open Eclipse Marketplace,现在分享给大家,希望可以做个参考。

最近为了给Mars.2 Release (4.5.2)安装spring tool suite插件,离线尝试了sts4.5.2版本,sts4.1.7版本,但都不能成功。想使用Eclipse Marketplace进行安装,但是一直报这个错:

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 at http://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


对于这个错误在网上查找了一下资料。

解决方法一:(这个方法进行了尝试,能够成功)

在eclipse安装目录,找到eclipse.ini文件,在文件末尾加入如下内容:
-Djava.net.preferIPv4Stack=true


解决方法二:(这个方法也进行了尝试,问题没有解决。这个进行记录一下,给自己留点印象)

window->preferences->general->network connection,右边的active provider选择manual,

勾上HTTP、HTTPS、SOCKS,apply一下,重启eclipse




最后

以上就是难过小蝴蝶最近收集整理的关于eclipse问题 Cannot open Eclipse Marketplace的全部内容,更多相关eclipse问题内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(156)

评论列表共有 0 条评论

立即
投稿
返回
顶部