此错误消息...
org.openqa.selenium.webdriver is not accessible
我安装了最新的Java 13.0和最新的Selenium版本,收到错误“无法访问org.openqa.selenium.webdriver”,因此将遵从级别从13更改为1.8。
我收到图片中显示的错误:
<< img src =“ https://image.soinside.com/eyJ1cmwiOiAiaHR0cHM6Ly9pLnN0YWNrLmltZ3VyLmNvbS9Bb25rVy5wbmcifQ==” alt =“我正在获取图片中显示的错误”>
我安装了最新的Java 13.0和最新的Selenium版本,收到错误“无法访问org.openqa.selenium.webdriver”,因此将遵从级别从13更改为1.8。 >
此错误消息...
org.openqa.selenium.webdriver is not accessible
...表示您的程序无法访问org.openqa.selenium.webdriver
。根据您共享的快照,您不应在程序中将类名作为Java
保留,因为它是一个关键字。您需要执行以下任一步骤:
testJava
testJava
此错误消息...
org.openqa.selenium.webdriver is not accessible