Eclipse PMD插件握手失败 [英] Eclipse pmd plug-in handshake failure

查看:250
本文介绍了Eclipse PMD插件握手失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试添加eclipse pmd插件,但出现以下错误.

I'm trying to add eclipse pmd plug-in ended up with the following error.

无法读取位于 https ://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/content.xml . 收到致命警报:handshake_failure

Unable to read repository at https://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/content.xml. Received fatal alert: handshake_failure

有什么想法吗?

推荐答案

可能是以下两种情况之一:

It's probably one of the following two cases:

  • Either the cipher is not supported by your JRE - see answer https://stackoverflow.com/a/42129608/1169968 to install the JCE security patch to allow unlimited security (local_policy.jar and US_export_policy.jar)

您正在使用的JRE版本不信任被某些Sourceforge镜像使用的Let's Encrypt证书.您至少需要Java 7 Update 111或Java 8 Update101.请参阅 https://letsencrypt.org/docs/certificate-compatibility/

The JRE version, you are using, doesn't trust Let's Encrypt certificates, that are used by some of the sourceforge mirrors. You need at least Java 7 Update 111 or Java 8 Update 101. See https://letsencrypt.org/docs/certificate-compatibility/

但是即使那样,sourceforge上托管的eclipse更新站点似乎仍然非常不可靠-镜像并非始终100%同步,因此某些文件可能会丢失...

But even then, the eclipse update site hosted on sourceforge seems to be very unreliable - the mirrors are not always 100% in sync, so some files might be missing...

因此,请参见 https://github.com/pmd/pmd- eclipse-plugin/issues/19 解决方法:

Therefore, see https://github.com/pmd/pmd-eclipse-plugin/issues/19 for an workaround:

https://github.com/下载为zip存档的更新站点. pmd/pmd-eclipse-plugin/releases ,在本地解压缩并将其用作更新站点.

download the update site as a zip archive from https://github.com/pmd/pmd-eclipse-plugin/releases , unpack it locally and use this folder as an update site.

更新(2017-03-18)

现在有一个新的更新站点:

Update (2017-03-18)

A new update-site is available now:

https://dl.bintray.com/pmd/pmd- eclipse-plugin/updates/

请从现在开始使用此URL来安装插件.

Please use this url from now on, to install the plugin.

这篇关于Eclipse PMD插件握手失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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