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

NoClassDefFoundError: SessionNotFoundException with selenium 3.6 and HtmlUnitDriver 2.52.0 #4930

Closed
Ben1980 opened this issue Oct 23, 2017 · 1 comment

Comments

@Ben1980
Copy link

Ben1980 commented Oct 23, 2017

Meta -

OS: Windwos 10
Selenium Version: 3.6.0
Browser: HtmlUnitDriver

Browser Version: HtmlUnitDriver 2.52.0

Expected Behavior -

This package configuration should compile and work:
org.seleniumhq.selenium:selenium-api:3.6.0
org.seleniumhq.selenium:selenium-java:3.6.0
org.seleniumhq.selenium:selenium-htmlunit-driver:2.52.0

Actual Behavior -

Is causing a NoClassDefFoundError
java.lang.NoClassDefFoundError: org/openqa/selenium/remote/SessionNotFoundException

Steps to reproduce -

Just get sources from Example and run it with gradlew.bat build or in your IDE

@barancev
Copy link
Member

Latest htmlunit-driver is 2.27 (note the artifact name change), version number matches htmlunit version.
http://search.maven.org/#artifactdetails%7Corg.seleniumhq.selenium%7Chtmlunit-driver%7C2.27%7Cjar

@lock lock bot locked and limited conversation to collaborators Aug 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants