首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >当我得到“无法读取存储库”ProvisionException错误时,如何连接到Eclipse中的更新站点?

当我得到“无法读取存储库”ProvisionException错误时,如何连接到Eclipse中的更新站点?
EN

Stack Overflow用户
提问于 2017-05-01 21:34:34
回答 3查看 9.4K关注 0票数 2

当试图连接eclipse中的更新站点以安装Cucumber-Eclipse插件时,我得到以下错误:

代码语言:javascript
复制
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
EN

回答 3

Stack Overflow用户

回答已采纳

发布于 2017-05-01 21:45:38

本例中的问题一开始是误导性的,因为与SunCertPathBuilderException有关的所有其他答案都与java仙人掌文件中缺少的证书有关。

这里,它实际上是由URL重定向引起的。Cucumber-Eclipse网站列出了其插件的更新站点如下:

https://cucumber.io/cucumber-eclipse/update-site

但是,在浏览器中导航到该URL时,它重定向到:

http://cucumber.github.io/cucumber-eclipse/update-site/

注意添加的".github“。

分辨率

如果Eclipse插件遇到此问题,请导航到浏览器中的更新站点URL,并在页面加载后从那里复制URL。这将为您提供真正的更新站点URL,然后可以将其添加为Eclipse中的可用站点。

票数 2
EN

Stack Overflow用户

发布于 2020-03-12 13:16:47

http://cucumber.github.io/cucumber-eclipse/update-site/

使用eclipse中“安装新软件”中的上述链接

票数 1
EN

Stack Overflow用户

发布于 2020-05-09 20:23:13

这对我来说很管用

http://cucumber.github.io/cucumber-eclipse/update-site/

在eclipse中使用来自Install new Software的上述链接

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/43726879

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档