0

私はで与えられた手順に従っています

http://seleniumhq.org/docs/03_webdriver.jsp#java

'mvn clean install'を実行すると、次のエラーが発生します:

[ERROR] Failed to execute goal on project MySel20Proj: Could not resolve dependencies for project MySel20Proj:MySel20Proj:jar:1.0: Failed to collect dependencies for [org.seleniumhq.selenium:selenium-java:jar:2.28.0 (compile), com.opera:operadriver:jar:1.1 (compile)]: Failed to read artifact descriptor for org.webbitserver:webbit:jar:0.4.14: Could not transfer artifact org.sonatype.oss:oss-parent:pom:6 from/to central (http://repo.maven.apache.org/maven2): Read timed out -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

どうすればこれを解決できますか?

4

3 に答える 3

1

このOpera ドライバーを確認してください。このドライバーは、サードパーティによって開発されているため、Selenium のデフォルトの一部ではありません。このページを見てください。少し下にスクロールすると、サードパーティのドライバとそれらへのリンクのリストがあります。

于 2013-01-23T08:56:59.553 に答える
0

Selenium2.28でのOperaのサポートは現在まで存在しないと感じています...間違っている場合は訂正してください

于 2013-01-23T12:49:47.830 に答える
0

ネットワークの問題だったようです。再試行したところ、成功しました。とにかく助けてくれてありがとう。

于 2013-01-24T05:36:53.263 に答える