打开eclipse市场

时间:2013-12-17 09:40:55

标签: java eclipse svn eclipse-marketplace

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

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 kepler。

你有什么建议吗?

谢谢

1 个答案:

答案 0 :(得分:7)

我担心,这不是代理人。也不是杀毒软件。我有同样的问题,也没有帮助。但是你的Eclipse根本无法访问某个站点,因为默认情况下java 7会让Eclpse通过协议IP6到达它,而Eclipse实际上并不支持它,至少在4.3版本中是这样。

转到cmd,使用

setx _JAVA_OPTIONS -Djava.net.preferIPv4Stack=true

重启eclipse,它会起作用。