标题: 关于启动 SeleniumServer的问题 谢谢~~! [打印本页] 作者: 小妖娃娃_na 时间: 2010-11-18 15:27 标题: 关于启动 SeleniumServer的问题 谢谢~~! 启动SeleniumServer
报提示
15:13:16.410 INFO - Java: Sun Microsystems Inc. 16.3-b01
15:13:16.412 INFO - OS: Windows 7 6.1 x86
15:13:16.419 INFO - v2.0 [a2], with Core v2.0 [a2]
15:13:16.537 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:4444/wd/hub
15:13:16.539 INFO - Version Jetty/5.1.x
15:13:16.540 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver]
15:13:16.542 INFO - Started HttpContext[/selenium-server,/selenium-server]
15:13:16.542 INFO - Started HttpContext[/,/]
15:13:16.587 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler@1ea2dfe
15:13:16.587 INFO - Started HttpContext[/wd,/wd]
15:13:16.591 WARN - Failed to start: SocketListener0@0.0.0.0:4444
Exception in thread "main" org.openqa.jetty.util.MultiException[java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind]
at org.openqa.jetty.http.HttpServer.doStart(HttpServer.java:686)
at org.openqa.jetty.util.Container.start(Container.java:72)
at org.openqa.selenium.server.SeleniumServer.start(SeleniumServer.java:396)
at org.openqa.selenium.server.SeleniumServer.boot(SeleniumServer.java:234)
at org.openqa.selenium.server.SeleniumServer.main(SeleniumServer.java:198)
java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at org.openqa.jetty.util.ThreadedServer.newServerSocket(ThreadedServer.java:391)
at org.openqa.jetty.util.ThreadedServer.open(ThreadedServer.java:477)
at org.openqa.jetty.util.ThreadedServer.start(ThreadedServer.java:503)
at org.openqa.jetty.http.SocketListener.start(SocketListener.java:204)
at org.openqa.jetty.http.HttpServer.doStart(HttpServer.java:716)
at org.openqa.jetty.util.Container.start(Container.java:72)
at org.openqa.selenium.server.SeleniumServer.start(SeleniumServer.java:396)
at org.openqa.selenium.server.SeleniumServer.boot(SeleniumServer.java:234)
at org.openqa.selenium.server.SeleniumServer.main(SeleniumServer.java:198)
不成功,刚接触Selenium,请帮忙 非常感谢!!作者: fuwu527751246 时间: 2010-11-22 14:39
学习下作者: goal1860 时间: 2010-11-23 18:12
输入的什么命令?什么版本?作者: fflastjay 时间: 2010-12-1 16:16
打开多个窗口了,要么就是4444被占用了