当试图连接eclipse中的更新站点以安装Cucumber-Eclipse插件时,我得到以下错误:
Unable to read repository at http://cucumber.io/cucumber-eclipse/update-site/content.xml.
Unable to read repository at http://cucumber.io/cucumber-eclipse/update-site/content.xml.
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested
target发布于 2017-05-01 21:45:38
本例中的问题一开始是误导性的,因为与SunCertPathBuilderException有关的所有其他答案都与java仙人掌文件中缺少的证书有关。
这里,它实际上是由URL重定向引起的。Cucumber-Eclipse网站列出了其插件的更新站点如下:
但是,在浏览器中导航到该URL时,它重定向到:
http://cucumber.github.io/cucumber-eclipse/update-site/
注意添加的".github“。
分辨率
如果Eclipse插件遇到此问题,请导航到浏览器中的更新站点URL,并在页面加载后从那里复制URL。这将为您提供真正的更新站点URL,然后可以将其添加为Eclipse中的可用站点。
发布于 2020-03-12 13:16:47
http://cucumber.github.io/cucumber-eclipse/update-site/
使用eclipse中“安装新软件”中的上述链接
发布于 2020-05-09 20:23:13
这对我来说很管用
http://cucumber.github.io/cucumber-eclipse/update-site/
在eclipse中使用来自Install new Software的上述链接
https://stackoverflow.com/questions/43726879
复制相似问题