gpt4 book ai didi

java - 如何在 Java 或 Android 项目中添加 Selenium 库。 import org.openqa 无法解析

转载 作者:塔克拉玛干 更新时间:2023-11-02 08:02:26 25 4
gpt4 key购买 nike

<分区>

我正在尝试寻找任何实际有效的 Selenium 教程。目前正在查看this one该项目不编译。它有 6 个错误:

1) Firefox Driver cannot be resolved to a type
2) The import org.openqa cannot be resolved.
3) The import org.openqa cannot be resolved.
4) The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building this project.
5) The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files.
6) WebDriver cannot be resolved to a type.

我的类路径中有以下内容:

byte-buddy-1.7.5.jar, 
client-combined-3.8.1-sources.jar,
client-combined-3.8.1.jar,
commons-codec-1.10.jar,
commons-exec-1.3.jar,
commons-logging-1.2.jar,
gson-2.8.2.jar,
guava-23.0.jar,
httpclient-4.5.3.jar,
httpcore-4.4.6.jar

请帮忙!

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com