Geb exception when running tests in maven
问题 I get this exception when I run my tests from command line with maven. My command: mvn -Dtest=specs.full.* -Dtestsystem=Win7/IE test On my local machine, everything works fine. But when I run the tests on our server, where jenkins is installed, I get following exception: java.lang.VerifyError: (class: specs/full/ReadCheckMenuLinks, method: super$8$$spock_feature_3_1 signature: ()V) Illegal use of nonvirtual function call at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class