运行java -jar f:\java\chromedriver_win\selenium-server-standalone-2.45.0.jar命令时,显示以下报错。百度查了占用该端口的进程并删除了,还是显示这个错误
18:30:52.566 INFO - Launching a standalone server
18:30:53.033 INFO - Java: Oracle Corporation 25.151-b12
18:30:53.033 INFO - OS: Windows 10 10.0 x86
18:30:53.044 INFO - v2.45.0, with Core v2.45.0. Built from revision 5017cb8
18:30:53.145 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:4444/wd/hub
18:30:53.147 INFO - Version Jetty/5.1.x
18:30:53.149 INFO - Started HttpContext[/selenium-server,/selenium-server]
18:30:53.385 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler@163e9ab
18:30:53.386 INFO - Started HttpContext[/wd,/wd]
18:30:53.388 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver]
18:30:53.389 INFO - Started HttpContext[/,/]
18:30:53.392 WARN - Failed to start: SocketListener0@0.0.0.0:4444
Exception in thread “main” java.net.BindException: Selenium is already running on port 4444. Or some other service is.
at org.openqa.selenium.server.SeleniumServer.start(SeleniumServer.java:491)
at org.openqa.selenium.server.SeleniumServer.boot(SeleniumServer.java:300)
at org.openqa.selenium.server.SeleniumServer.main(SeleniumServer.java:245)
at org.openqa.grid.selenium.GridLauncher.main(GridLauncher.java:97)