java.lang.NoClassDefFoundError: org/openqa/selenium/WebDriver


Samebug tips6

Needs to add netty-transport-native-epoll with a OS classifier to the classpath, it's not included in netty-all


,
via netty.io by Unknown author

Solutions on the web1073

Solution icon of web
org/openqa/selenium/WebDriver

Solution icon of stackoverflow
org/openqa/selenium/WebDriver

Solution icon of stackoverflow
org/openqa/selenium/WebDriver

Solution icon of stackoverflow
org/openqa/selenium/WebDriver

Solution icon of stackoverflow
via Stack Overflow by Uday
, 1 year ago
org/openqa/selenium/WebDriver

Solution icon of stackoverflow
org/openqa/selenium/WebDriver

Solution icon of stackoverflow
via Stack Overflow by sindhu
, 5 months ago
org/openqa/selenium/WebDriver

Solution icon of stackoverflow
org/openqa/selenium/WebDriver

Solution icon of stackoverflow
via Stack Overflow by user1801060
, 1 year ago
org/openqa/selenium/WebDriver

Stack trace

java.lang.NoClassDefFoundError: org/openqa/selenium/WebDriver
	at java.lang.Class.getDeclaredMethods0(Native Method)
	at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
	at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
	at java.lang.Class.getMethod0(Class.java:3018)
	at java.lang.Class.getMethod(Class.java:1784)
	at org.junit.internal.builders.SuiteMethodBuilder.hasSuiteMethod(SuiteMethodBuilder.java:18)
	at org.junit.internal.builders.SuiteMethodBuilder.runnerForClass(SuiteMethodBuilder.java:10)
	at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
	at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
	at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
	at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.createUnfilteredTest(JUnit4TestLoader.java:84)
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.createTest(JUnit4TestLoader.java:70)
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.loadTests(JUnit4TestLoader.java:43)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:444)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
Caused by: java.lang.ClassNotFoundException: org.openqa.selenium.WebDriver
	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)
	... 18 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 3 months ago
14 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 4 months ago
1554 more bugmates