実際に動作するSeleniumチュートリアルを検索しようとしています。 現在見ているthis one プロジェクトはコンパイルされません。これは、6個のエラーがあります。インポートorg.openqaを解決できません
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
助けてください!
クラスパスに依存関係(セレンなど)がありますか? – Moira
ありがとうマンゴー、私は質問に参照されたライブラリを追加しました。 –
あなたはまだあなたのクラスパスにSeleniumに関連するものを列挙していません。 – JeffC