Я получаю эту ошибку при запуске Testng Project
Ошибка: не удалось найти или загрузить основной класс org.testng.remote.RemoteTestNG
Ниже приведен файл POM.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.project</groupId> <artifactId>WeWalkThru</artifactId> <version>0.0.1-SNAPSHOT</version> <dependencies> <!-- https://mvnrepository.com/artifact/org.testng/testng --> <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <version>6.14.3</version> <scope>test</scope> </dependency> <!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java --> <dependency> <groupId>org.seleniumhq.selenium</groupId> <artifactId>selenium-java</artifactId> <version>3.141.59</version> </dependency> </dependencies> </project>
С тестовой версии 6.9.9 класс RemoteTestNG пропал. Вы должны обновить / понизить плагин eclipse testng, чтобы решить проблему. Это проблема совместимости версий плагина testng maven dependency и testng eclipse.
RemoteTestNG