无法下载Eclipse插件 [英] Unable to download plugin for eclipse
问题描述
我正在尝试下载eclipse的kotlin插件.我可以连接到Eclipse电子市场,但是当我尝试下载它时,出现错误:
I am trying to download kotlin plugin for eclipse. I am able to connect to eclipse marketplace, but when i try to download it, I get an error:
Unable to read repository at
https://dl.bintray.com/jetbrains/kotlin/eclipse-plugin/last/content.xml.
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException:
unable to find valid certification path to requested target
我在防火墙后面,并且代理设置已配置.我从该网站下载了证书并将其添加到keytool中,但错误仍然相同.如何解决此错误或手动安装此插件?
I am behind a firewall and proxy settings are configured. I downloaded a certificate from this website and added it to keytool but the error is still the same. How I can resolve this error or install this plugin manually?
推荐答案
能够通过将以下内容附加到 eclipse.ini
中来解决该问题:
Was able to solve the issue by appending the following to the eclipse.ini
:
-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4
在此处找到上述解决方案: https://stackoverflow.com/a/33631964/4447655 如果仍然无法解决问题,还有一种解决方案,那就是取消选中eclipse代理设置中的SOCKS.
Found the above solution here: https://stackoverflow.com/a/33631964/4447655 There is also solution if this still does not work, to uncheck SOCKS in the eclipse proxy settings.
这篇关于无法下载Eclipse插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!