Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to launch chrome or firefox driver #5

Closed
o-suneel-kumar opened this issue Oct 16, 2017 · 3 comments
Closed

Unable to launch chrome or firefox driver #5

o-suneel-kumar opened this issue Oct 16, 2017 · 3 comments

Comments

@o-suneel-kumar
Copy link

hi ,

I tried launching chrome /FF driver, got exception. Below logs and exception stacktrace.:

SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/C:/Users/skoleti.ORADEV/.m2/repository/org/slf4j/slf4j-simple/1.7.21/slf4j-simple-1.7.21.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/Users/skoleti.ORADEV/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.SimpleLoggerFactory]
[2017-10-16 09:38:10:013] [main] INFO BrowserManager - Reading https://api.github.com/repos/mozilla/geckodriver/releases to seek [wires, geckodriver]
[2017-10-16 09:38:10:734] [main] INFO BrowserManager - Latest version of [wires, geckodriver] is 0.19.0
[2017-10-16 09:38:10:795] [main] INFO BrowserManager - Exporting webdriver.gecko.driver as C:\Users\skoleti.ORADEV.m2\repository\webdriver\geckodriver\win64\0.19.0\geckodriver.exe
Exception in thread "main" java.lang.NoClassDefFoundError: org/openqa/selenium/io/CircularOutputStream
at org.openqa.selenium.firefox.FirefoxBinary.(FirefoxBinary.java:60)
at org.openqa.selenium.firefox.FirefoxBinary.(FirefoxBinary.java:56)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:120)
at com.he.executionlayer.ApiProcessor.getDriver(ApiProcessor.java:723)
at com.he.executionlayer.ApiProcessor.main(ApiProcessor.java:201)
Caused by: java.lang.ClassNotFoundException: org.openqa.selenium.io.CircularOutputStream
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 5 more

@pinakinc
Copy link

Hi

I get the error below.

I am using Selenium webdriver 3.14 and WebDriverManager 3.0. I get the error below

Exception in thread "main" java.lang.NoClassDefFoundError: io/github/bonigarcia/wdm/WebDriverManager
at org.packt.utilities.BrowserFactory.main(BrowserFactory.java:12)
Caused by: java.lang.ClassNotFoundException: io.github.bonigarcia.wdm.WebDriverManager
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 1 more

@HarinathAnnavarapu
Copy link

HarinathAnnavarapu commented May 29, 2019

Can anyone kindly provide the solution for the above-specified exception?
The exception occurs still in 3.6.0 version

@swathi-prasad
Copy link

swathi-prasad commented Sep 16, 2019

Found a solution for the above..
Add "sikulixsetup-1.1.3.jar" as a dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants