首页 > 解决方案 > 无法在 Eclipse 中安装 TestNg 出现错误,例如“无法完成安装,因为找不到一个或多个必需的项目”

问题描述

我尝试通过以下方式安装 TestNG:

1:帮助>>安装新软件>>使用>> http://beust.com/eclipse/enter 或者使用这个http://dl.bintray.com/testng-team/testng-eclipse-release/

2:帮助>>Eclipse MarketPlace>>搜索TestNG

在收到类似错误之后

Cannot complete the install because one or more required items could not be found.
  Software being installed: TestNG M2E (Maven) Integration (Optional) 7.3.0.202008060412 (org.testng.eclipse.maven.feature.feature.group 7.3.0.202008060412)

Missing requirement: TestNG Eclipse Support 7.3.0.202008060412 (org.testng.eclipse 7.3.0.202008060412) requires 'bundle org.eclipse.jdt.launching 3.10.0' but it could not be found
  Cannot satisfy dependency:
    From: TestNG 7.3.0.202008060412 (org.testng.eclipse.feature.group 7.3.0.202008060412)
    To: org.testng.eclipse [7.3.0.20200806041

标签: selenium-webdriver

解决方案


推荐阅读