sebastienblanc/spring-mobile-grails-plugin — Issue #2: import not found in grails 2.0
Author: jagiro
Created: 2012-02-09 16:32:14+00:00
State: open

Dear Sebastien,

I recently upgraded my grails project to grails 2.0.
Now when the project runs via run-app or run-war it throws the following error:

org.springframework.beans.factory.access.BootstrapException: Error executing bootstraps; nested exception is groovy.lang.MissingPropertyException: No such property: WurflManagerFactoryBean for class: SpringMobileGrailsPlugin
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: groovy.lang.MissingPropertyException: No such property: WurflManagerFactoryBean for class: SpringMobileGrailsPlugin
at SpringMobileGrailsPlugin$_closure2.doCall(SpringMobileGrailsPlugin.groovy:43)
at grails.spring.BeanBuilder.invokeBeanDefiningClosure(BeanBuilder.java:736)
at grails.spring.BeanBuilder.beans(BeanBuilder.java:569)
at grails.spring.BeanBuilder.invokeMethod(BeanBuilder.java:511)
... 5 more

In my config.groovy I setup the plugin like this:
springMobile {
deviceResolver="wurfl"
}

The same code on grails 1.3.7 works.

Thanks in advance