hauner / grails-cucumber

a Cucumber plugin for Grails
https://github.com/hauner/grails-cucumber
63 stars 35 forks source link

Fatal error running test #36

Closed Nullpo closed 10 years ago

Nullpo commented 10 years ago

(remove this issue, probabbly it will be fixed in 1.0.0, with the grails 2.4 support)

With Grails 2.4.0, in a Ubuntu 13.04 with OpenJDK,

BuildConfig:

test ":cucumber:0.7.0"

I want to run the "NewBook" example, and when I execute

grails test-app functional:cucumber --stacktrace

The response is:

| Running without daemon... | Error Error loading event script from file [/home/usuario/Documents/blahblahblah/target/work/plugins/cucumber-0.7.0/scripts/_Events.groovy] No such property: classLoader for class: java.lang.Object (NOTE: Stack trace has been filtered. Use --verbose to see entire trace.) groovy.lang.MissingPropertyException: No such property: classLoader for class: java.lang.Object at grails.util.BuildSettings$1.doCall(BuildSettings.groovy:409) at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1270) at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1270) at _Events.run(_Events.groovy:17) | Error Error loading event script from file [/home/usuario/Documents/blahblahblah/target/work/plugins/cucumber-0.7.0/scripts/_Events.groovy] No such property: classLoader for class: java.lang.Object