【问题标题】:Unable to read repository at https://testng.org/testng-eclipse-update-site无法在 https://testng.org/testng-eclipse-update-site 读取存储库
【发布时间】:2021-08-27 11:24:16
【问题描述】:

我正在尝试在我的 Eclipse 中安装 TestNg,但面临以下问题。任何人都可以帮助我,即使我尝试了所有方法,但我无法解决这个问题。

我正在使用最新版本的 eclipse 和 TestNG

Unable to read repository at https://testng.org/testng-eclipse-update-site/content.xml.
Unable to read repository at https://testng.org/testng-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

【问题讨论】:

标签: eclipse selenium testng


【解决方案1】:

我遇到了同样的问题,我所做的只是下载更新版本的 JDK : 旧版本:1.8.40 当前版本:1.8.201 然后再次尝试安装 TestNG 并且成功了

【讨论】:

    【解决方案2】:

    https://github.com/cbeust/testng-eclipse下载testNG JAR文件,然后手动添加到eclipse IDE中,如下:

    • 下载相应的 TestNG JAR 文件夹并解压。
    • 帮助 > 安装新软件 > 添加 > 单击存档并在此处添加解压缩文件夹路径,然后单击添加文件夹。
    • TestNG 现在应该可以安装了,选中复选框并单击下一步

    【讨论】:

      猜你喜欢
      • 2018-12-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-09-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多