Could not initialize class net.thucydides.core.webdriver.SupportedWebDriver

2,135 views
Skip to first unread message

Ian Lim

unread,
Oct 10, 2013, 11:19:10 PM10/10/13
to thucydid...@googlegroups.com
Hi All

I keep on getting this error when trying to run thucydides:

java.lang.NoClassDefFoundError: Could not initialize class net.thucydides.core.webdriver.SupportedWebDriver
        at net.thucydides.core.webdriver.SystemPropertiesConfiguration.lookupSupportedDriverTypeFor(SystemPropertiesConfiguration.java:261)

Command used to run >mvn test thucydides:aggregate

pom.xml:

        <dependency>
            <groupId>net.thucydides</groupId>
            <artifactId>thucydides-core</artifactId>
            <version>${thucydides.version}</version>
        </dependency>

        <dependency>
            <groupId>net.thucydides</groupId>
            <artifactId>thucydides-jbehave-plugin</artifactId>
            <version>0.9.205</version>
        </dependency> 

Is there anything else I need to do?

Thanks 
Ian Lim

Ian Lim

unread,
Oct 15, 2013, 11:36:08 PM10/15/13
to thucydid...@googlegroups.com
Thanks to someone who managed to help me.

However, I didn't see the reply here.

I removed my own selenium-java dependencies and the error does not appear anymore.

Pareshkumar Chaudhari

unread,
Mar 18, 2016, 3:20:08 PM3/18/16
to Serenity BDD Users Group
Hello Lan, 

I was having same problem.. and as suggested by you. I removed selenium entry from my pom which was there before.
And Now I also don't see error.

thanks!
Reply all
Reply to author
Forward
0 new messages