Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
122 views
in Technique[技术] by (71.8m points)

java - open eclipse Markeplace

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

I use eclipse kepler.

have you any suggestions ?

thank you

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.

Go to cmd, use

setx _JAVA_OPTIONS -Djava.net.preferIPv4Stack=true

restart eclipse and it will work.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...