我正在try 为eclipse下载kotlin插件.我可以连接到eclipse marketplace,但当我try 下载它时,我遇到了一个错误:

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,但错误仍然是一样的.如何解决此错误或手动安装此插件?

推荐答案

能够通过将以下内容附加到eclipse.ini中来解决该问题:

-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4

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.

Kotlin相关问答推荐

为什么onEach不是挂起函数,而Collect是?

某些公共函数显然不能在类实例上访问;Klaxon示例

Android Studio中的只读集合不支持操作失败的原因是什么?

如何修改muableStateMapOf的值?

Spring Boot Kotlin 数据类未使用 REST 控制器中的默认值初始化

在 kotlin 中重载函数时,我在一些非常基本的代码上不断收到类型不匹配

KMM:编译失败:意外的 IrType 类型:KIND_NOT_SET

Kotlin 条件格式字符串

为什么没有remember 的 mutableStateOf 有时会起作用?

Kotlin JS JSON 反序列化

如何使用 Findbugs 避免 kotlin 文件

Fragment的onDestroy()中是否需要将ViewBinding设置为null?

Gradle 同步失败:不支持的方法:KotlinPlatformContainer.supports()

无法创建类 ViewModel kotlin 的实例

为什么 Kotlin Pair 中的条目不可变?

Android Jetpack导航,另一个主机片段中的主机片段

内联 Kotlin 方法没有覆盖报告

Kotlin,什么时候按map授权?

Java的Kotlin:字段是否可以为空?

var str:String是可变的还是不可变的?