(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
(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