Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/eclipse/9.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
Eclipse 2019-03中Java v3.141.59中的类路径不工作_Java_Eclipse_Selenium Webdriver - Fatal编程技术网

Eclipse 2019-03中Java v3.141.59中的类路径不工作

Eclipse 2019-03中Java v3.141.59中的类路径不工作,java,eclipse,selenium-webdriver,Java,Eclipse,Selenium Webdriver,我正在使用Eclipse 2019-03,Java Developer安装了Selenium Java客户端语言绑定V3.141.59 但我有以下错误: 'The type org.openqa.selenium.Webdriver is not accessable' 'The type org.openqa.selenium.firefox.Firefox.Driver is not accessable' 在每个import语句中,我都更新了project->properties->Ja

我正在使用Eclipse 2019-03,Java Developer安装了Selenium Java客户端语言绑定V3.141.59

但我有以下错误:

'The type org.openqa.selenium.Webdriver is not accessable'
'The type org.openqa.selenium.firefox.Firefox.Driver is not accessable'
在每个import语句中,我都更新了project->properties->Java构建路径,以便按照建议在类路径库中提取selenium JAR文件


我尝试以管理员身份运行,重新安装了Eclipse+Selenium绑定。尝试拿起其他罐子,但得到相同的错误。尝试检查Webdrivers目录上的权限-没有问题。

对于标准实现和避免硬编码的JAVA库路径,请将项目转换为Gradle或Maven并提供依赖项。这将使维护变得容易,避免IDE依赖性