打开日食市场 [英] open eclipse Markeplace

查看:37
本文介绍了打开日食市场的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用 eclipse 市场来添加 svn 插件,但是当我尝试这样做时,我有这个例外:

I want to use eclipse marketplace for adding svn plugin but when i try to do it i have this exception :

Cannot open Eclipse Marketplace
Cannot install remote marketplace locations: Unable to read repository at marketplace.eclipse.org/catalogs/api/p.
Unable to read repository at marketplace.eclipse.org/catalogs/api/p.
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Unable to read repository at marketplace.eclipse.org/catalogs/api/p.
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

我使用日食开普勒.

你有什么建议吗?

谢谢

推荐答案

恐怕不是代理.也没有杀毒软件.我遇到了同样的问题,但都没有帮助.但是您的 Eclipse 根本无法访问站点,因为默认情况下 java 7 使 Eclpse 通过协议 IP6 访问它,Eclipse 并不真正支持该协议,至少在 4.3 之前的版本中是这样.

I am afraid, it is not proxy. Nor the antivirus. I had the same problem and neither helped. But your Eclipse simply can't reach a site because java 7 by default makes Eclpse to reach it throught the protocol IP6, that is not really supported by Eclipse, at least in versions till 4.3.

进入cmd,使用

setx _JAVA_OPTIONS -Djava.net.preferIPv4Stack=true

重启 eclipse 就可以了.

restart eclipse and it will work.

这篇关于打开日食市场的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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