Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/366.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 您好,我正在尝试学习Selenium automation并遇到以下错误:无法初始化主类org.testng.remote.RemoteTestNG_Java_Selenium - Fatal编程技术网

Java 您好,我正在尝试学习Selenium automation并遇到以下错误:无法初始化主类org.testng.remote.RemoteTestNG

Java 您好,我正在尝试学习Selenium automation并遇到以下错误:无法初始化主类org.testng.remote.RemoteTestNG,java,selenium,Java,Selenium,尝试在屏幕截图中运行给定代码时出错: 错误:无法初始化主类org.testng.remote.RemoteTestNG 原因:java.lang.NoClassDefFoundError:org/testng/TestNGException

尝试在屏幕截图中运行给定代码时出错:

错误:无法初始化主类org.testng.remote.RemoteTestNG 原因:java.lang.NoClassDefFoundError:org/testng/TestNGException