简体   繁体   English

无法在 https://testng.org/testng-eclipse-update-site 读取存储库

[英]Unable to read repository at https://testng.org/testng-eclipse-update-site

I am trying to install TestNg in my eclipse but am facing the below issue.我正在尝试在我的 eclipse 中安装 TestNg 但面临以下问题。 Could any one please help me in this even i tried all the ways but I am unable to fix this problem.任何人都可以帮助我,即使我尝试了所有方法,但我无法解决这个问题。

I am using latest version of eclipse and 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

I faced the same problem and all i did was to download a newer version of JDK: old version: 1.8.40 current version: 1.8.201 then tried again to install TestNG and it worked我遇到了同样的问题,我所做的只是下载更新版本的 JDK:旧版本:1.8.40 当前版本:1.8.201 然后再次尝试安装 TestNG 并且它有效

download the testNG JAR files from https://github.com/cbeust/testng-eclipse and then manually add it to eclipse IDE as follows: download the testNG JAR files from https://github.com/cbeust/testng-eclipse and then manually add it to eclipse IDE as follows:

  • Download the respective TestNG JAR Folder and unzip it.下载相应的 TestNG JAR 文件夹并解压。
  • Help > Install New Softwares > Add > Click Archieve and add the Unzip folder path here and click Add folder.帮助 > 安装新软件 > 添加 > 单击存档并在此处添加解压缩文件夹路径,然后单击添加文件夹。
  • TestNG should now be available for installation, select the check box and click next TestNG 现在应该可以安装了,select 复选框并单击下一步

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 引用的文件包含错误 (http://testng.org/testng-1.0.dtd) - Referenced file contains errors (http://testng.org/testng-1.0.dtd) 即使从更新的 testng.org 获取链接,TestNg 安装问题 - TestNg installation problem even though getting link from updated testng.org 无法在 Eclipse 中执行 testng - Unable to execute testng in eclipse 无法在Eclipse中运行Testng批注 - Unable to run testng annotations in Eclipse 在使用Java的Eclipse IDE的testng框架中的哪里可以找到org.testng.TestNg包? - Where I can found org.testng.TestNg package in testng framework using Eclipse IDE for Java? 无法在最新的 Eclipse IDE 中安装 TestNG 插件 - Unable to install TestNG plugin in latest Eclipse IDE 无法使用ChromeDriver在Eclipse中运行TestNG测试用例 - Unable to run TestNG test case in Eclipse with ChromeDriver Eclipse Indigo无法读取存储库(更新站点) - Eclipse Indigo is unable to read repository (update sites) 当我收到“无法读取存储库”ProvisionException 错误时,如何连接到 Eclipse 中的更新站点? - How do I connect to an update site in Eclipse when I get an “Unable to read repository” ProvisionException error? Eclipse error message in selenium in TestNg related to maven (org.testng.eclipse.maven.Maven …) - Eclipse error message in selenium in TestNg related to maven (org.testng.eclipse.maven.Maven …)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM