Your dependency declarations are serious overkill, and can be reduced to
something like this:

compile 'javax.servlet:servlet-api:2.4' 
runtime 'mysql:mysql-connector-java:5.1.6' 
    
testCompile 'junit:junit:4.8.1' 
testCompile "org.codehaus.geb:geb-core:0.5.1" 
testCompile "org.codehaus.geb:geb-junit4:0.5.1" 
testRuntime "org.seleniumhq.selenium:selenium-firefox-driver:2.0b2" 

Are you sure that your versions of Geb and Selenium are compatible?

--
Peter Niederwieser 
Developer, Gradle
http://www.gradle.org
Trainer & Consultant, Gradle Inc.
http://www.gradle.biz
Creator, Spock Framework
http://spockframework.org


--
View this message in context: 
http://gradle.1045684.n5.nabble.com/geb-gradle-test-fail-with-java-lang-IncompatibleClassChangeError-Implementing-class-tp3406611p3406765.html
Sent from the gradle-user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to