Skip to content

GPMONGODB-5: Cannot run tests with mongodb 1.0-M3 #522

@graemerocher

Description

@graemerocher

Original Reporter: alari
Environment: Win7, Grails 1.3.6, mongodb plugin 1.0-M3
Version: Not Specified
Migrated From: http://jira.grails.org/browse/GPMONGODB-5

grails create-app mongo
cd mongo
grails uninstall-plugin hibernate
grails install-plugin mongodb
grails test-app

displays error after generating output:

Tests PASSED - view reports in target\test-reports
Error executing script TestApp: No such property: MongoOptionsFactoryBean for cl
ass: MongodbGrailsPlugin
No such property: MongoOptionsFactoryBean for class: MongodbGrailsPlugin
at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:387)
at gant.Gant$_dispatch_closure7.doCall(Gant.groovy:415)
at gant.Gant$_dispatch_closure7.doCall(Gant.groovy)
at gant.Gant.withBuildListeners(Gant.groovy:427)
at gant.Gant.this$2$withBuildListeners(Gant.groovy)
at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)
at gant.Gant.dispatch(Gant.groovy:415)
at gant.Gant.this$2$dispatch(Gant.groovy)
at gant.Gant.invokeMethod(Gant.groovy)
at gant.Gant.executeTargets(Gant.groovy:590)
at gant.Gant.executeTargets(Gant.groovy:589)
Caused by: groovy.lang.MissingPropertyException: No such property: MongoOptionsF
actoryBean for class: MongodbGrailsPlugin
at MongodbGrailsPlugin$_closure1.doCall(MongodbGrailsPlugin.groovy:71)
at MongodbGrailsPlugin$_closure1.doCall(MongodbGrailsPlugin.groovy)
at grails.spring.BeanBuilder.invokeBeanDefiningClosure(BeanBuilder.java:
723)
at grails.spring.BeanBuilder.beans(BeanBuilder.java:573)
at grails.spring.BeanBuilder.invokeMethod(BeanBuilder.java:519)
at TestApp$_run_closure2_closure14.doCall(TestApp:102)
at TestApp$_run_closure2_closure14.doCall(TestApp)
at _GrailsSettings_groovy$_run_closure10.doCall(_GrailsSettings_groovy:2
80)
at _GrailsSettings_groovy$_run_closure10.call(_GrailsSettings_groovy)
at TestApp$_run_closure2.doCall(TestApp:94)
at TestApp$_run_closure6.doCall(TestApp:152)
at TestApp$_run_closure9.doCall(TestApp:314)
at TestApp$_run_closure9.doCall(TestApp)
at TestApp$_run_closure1_closure21.doCall(TestApp:184)
at TestApp$_run_closure1.doCall(TestApp:174)
at TestApp$_run_closure1.doCall(TestApp.groovy:82)
at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:381)
... 10 more
--- Nested Exception ---
groovy.lang.MissingPropertyException: No such property: MongoOptionsFactoryBean
for class: MongodbGrailsPlugin
at MongodbGrailsPlugin$_closure1.doCall(MongodbGrailsPlugin.groovy:71)
at MongodbGrailsPlugin$_closure1.doCall(MongodbGrailsPlugin.groovy)
at grails.spring.BeanBuilder.invokeBeanDefiningClosure(BeanBuilder.java:
723)
at grails.spring.BeanBuilder.beans(BeanBuilder.java:573)
at grails.spring.BeanBuilder.invokeMethod(BeanBuilder.java:519)
at TestApp$_run_closure2_closure14.doCall(TestApp:102)
at TestApp$_run_closure2_closure14.doCall(TestApp)
at _GrailsSettings_groovy$_run_closure10.doCall(_GrailsSettings_groovy:2
80)
at _GrailsSettings_groovy$_run_closure10.call(_GrailsSettings_groovy)
at TestApp$_run_closure2.doCall(TestApp:94)
at TestApp$_run_closure6.doCall(TestApp:152)
at TestApp$_run_closure9.doCall(TestApp:314)
at TestApp$_run_closure9.doCall(TestApp)
at TestApp$_run_closure1_closure21.doCall(TestApp:184)
at TestApp$_run_closure1.doCall(TestApp:174)
at TestApp$_run_closure1.doCall(TestApp.groovy:82)
at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:381)
at gant.Gant$_dispatch_closure7.doCall(Gant.groovy:415)
at gant.Gant$_dispatch_closure7.doCall(Gant.groovy)
at gant.Gant.withBuildListeners(Gant.groovy:427)
at gant.Gant.this$2$withBuildListeners(Gant.groovy)
at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)
at gant.Gant.dispatch(Gant.groovy:415)
at gant.Gant.this$2$dispatch(Gant.groovy)
at gant.Gant.invokeMethod(Gant.groovy)
at gant.Gant.executeTargets(Gant.groovy:590)
at gant.Gant.executeTargets(Gant.groovy:589)
Error executing script TestApp: No such property: MongoOptionsFactoryBean for cl
ass: MongodbGrailsPlugin

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions