geb.driver.DriverCreationException: failed to create driver from callback 'script1501516684770944233

1,288 views
Skip to first unread message

Renukaprasad C B

unread,
Aug 1, 2017, 12:11:54 AM8/1/17
to Geb User Mailing List
Hi

I am getting below Exception while running test scripts.

geb.driver.DriverCreationException: failed to create driver from callback 'script1501516684770944233575$_run_closure1@6601cc93'
java.lang.NoClassDefFoundError: Lorg/openqa/selenium/remote/html5/RemoteWebStorage;
failed to create driver from callback 'script1501516684770944233575$_run_closure1@6601cc93'

OS: Windows 10 64 bit
Chrome browser: v60 (latest one)
Selenium :-2.43.1
Chrome web driver:-2.24.417431

geb-version:0.10.0
geb-testng-version:0.13.1
geb-spoc-version:0.13.1

Thanks in Advance...!

It is working as expected for few of my colleagues and only I'm facing the issue i and we are using maven repository.
 Im not sure what is the issue with my set up as it working smooth earlier Please help me out ..!

Alexander Kriegisch

unread,
Aug 1, 2017, 2:02:01 AM8/1/17
to geb-...@googlegroups.com
I use:
** Geb + Geb Spock 1.1.1
** Selenium + Selenium Chrome Driver 3.0.1
** Chrome Driver 2.31 (64-bit)

Last time I tried I still used Chrome Driver 2.27. I do not remember which Chrome version I used back then, though. That version still worked, but veeery slow with Chrome 60, so I just upgraded the Chrome Driver.

I suggest you upgrade your Selenium, Geb and Chrome Driver versions.
--
Alexander Kriegisch
https://scrum-master.de

Renukaprasad C B

unread,
Aug 1, 2017, 12:22:41 PM8/1/17
to Geb User Mailing List
Thank Alexander Kriegisch  for your suggestion and  I tried with above configurations of Geb and selenium and did maven build then geb.testng.GebReportingTest got depreciated started giving error.

I am unable to figure it, As i stated in my original post with It is working as expected for few of my colleagues and only I'm facing the issue.

recently added phantomjsdriver  version 1.0.4 and guava version 19.0 to POM after this I'm facing the issue

Alexander Kriegisch

unread,
Aug 1, 2017, 1:39:49 PM8/1/17
to geb-...@googlegroups.com
If you have a problem with a Maven build, I suggest you strip down your project to the bare minimum with which the problem still occurs, make sure it is reproduceable with some sample code and then publish it on GitHub and provide a link.

You can also revert commits locally until you find the commit that caused the problem. I recommend 'git bisect' in order to do it systematically and possibly also automate it.

Otherwise 'mvn dependency:tree' and 'mvn dependency:analyze' are your friends.

BTW, I never used TestNG because I am quite happy with the combination Geb & Spock.
-- 
Alexander Kriegisch

--
You received this message because you are subscribed to the Google Groups "Geb User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geb-user+u...@googlegroups.com.
To post to this group, send email to geb-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geb-user/0ab183c5-6b19-4ffe-b178-c0a7e550cf25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages