You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed the less plugin in an existing project (upgraded to Grails 2.2) and now when I try to run the application I get a stack trace. It works fine when I uninstall the plugin.
2013-02-27 15:40:41,363 ERROR [ResourceProcessor] Unable to load resources
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'LessResourceMapperInstance': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lessResourcesLessCompilerService': Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'transactionManager' is defined
at grails.spring.BeanBuilder.createApplicationContext(BeanBuilder.java:593)
at org.grails.plugin.resource.mapper.ResourceMappersFactory.createResourceMappers(ResourceMappersFactory.groovy:43)
at org.grails.plugin.resource.ResourceProcessor.loadMappers(ResourceProcessor.groovy:1002)
at org.grails.plugin.resource.ResourceProcessor.reloadAll(ResourceProcessor.groovy:1071)
at ResourcesGrailsPlugin$_closure3.doCall(ResourcesGrailsPlugin.groovy:172)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lessResourcesLessCompilerService': Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'transactionManager' is defined
... 10 more
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'transactionManager' is defined
... 10 more
I also get an exception in the view when running the app:
org.codehaus.groovy.grails.web.pages.exceptions.GroovyPagesException: Error applying layout : main
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
java.lang.Thread.run(Thread.java:722)
root cause
org.codehaus.groovy.grails.web.pages.exceptions.GroovyPagesException: Error processing GroovyPageView: Error executing tag <r:layoutResources>: No module found with name [application]
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
java.lang.Thread.run(Thread.java:722)
root cause
org.codehaus.groovy.grails.web.taglib.exceptions.GrailsTagException: Error executing tag <r:layoutResources>: No module found with name [application]
Users_johancarlsson_workspace_reportweb_grails_app_views_layouts_main_gsp$_run_closure1.doCall(main.gsp:11)
Users_johancarlsson_workspace_reportweb_grails_app_views_layouts_main_gsp.run(main.gsp:14)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
java.lang.Thread.run(Thread.java:722)
root cause
java.lang.IllegalArgumentException: No module found with name [application]
org.grails.plugin.resource.ResourceProcessor.getAllModuleNamesRequired(ResourceProcessor.groovy:1132)
org.grails.plugin.resource.ResourceTagLib$_closure6.doCall(ResourceTagLib.groovy:398)
Users_johancarlsson_workspace_reportweb_grails_app_views_layouts_main_gsp$_run_closure1.doCall(main.gsp:11)
Users_johancarlsson_workspace_reportweb_grails_app_views_layouts_main_gsp.run(main.gsp:14)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
java.lang.Thread.run(Thread.java:722)
I'm certain that I have a module called "application" in ApplicationResources.groovy, so I wonder why it says I don't.
The text was updated successfully, but these errors were encountered:
I installed the less plugin in an existing project (upgraded to Grails 2.2) and now when I try to run the application I get a stack trace. It works fine when I uninstall the plugin.
2013-02-27 15:40:41,363 ERROR [ResourceProcessor] Unable to load resources
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'LessResourceMapperInstance': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lessResourcesLessCompilerService': Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'transactionManager' is defined
at grails.spring.BeanBuilder.createApplicationContext(BeanBuilder.java:593)
at org.grails.plugin.resource.mapper.ResourceMappersFactory.createResourceMappers(ResourceMappersFactory.groovy:43)
at org.grails.plugin.resource.ResourceProcessor.loadMappers(ResourceProcessor.groovy:1002)
at org.grails.plugin.resource.ResourceProcessor.reloadAll(ResourceProcessor.groovy:1071)
at ResourcesGrailsPlugin$_closure3.doCall(ResourcesGrailsPlugin.groovy:172)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lessResourcesLessCompilerService': Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'transactionManager' is defined
... 10 more
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'transactionManager' is defined
... 10 more
I also get an exception in the view when running the app:
org.codehaus.groovy.grails.web.pages.exceptions.GroovyPagesException: Error applying layout : main
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
java.lang.Thread.run(Thread.java:722)
root cause
org.codehaus.groovy.grails.web.pages.exceptions.GroovyPagesException: Error processing GroovyPageView: Error executing tag <r:layoutResources>: No module found with name [application]
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
java.lang.Thread.run(Thread.java:722)
root cause
org.codehaus.groovy.grails.web.taglib.exceptions.GrailsTagException: Error executing tag <r:layoutResources>: No module found with name [application]
Users_johancarlsson_workspace_reportweb_grails_app_views_layouts_main_gsp$_run_closure1.doCall(main.gsp:11)
Users_johancarlsson_workspace_reportweb_grails_app_views_layouts_main_gsp.run(main.gsp:14)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
java.lang.Thread.run(Thread.java:722)
root cause
java.lang.IllegalArgumentException: No module found with name [application]
org.grails.plugin.resource.ResourceProcessor.getAllModuleNamesRequired(ResourceProcessor.groovy:1132)
org.grails.plugin.resource.ResourceTagLib$_closure6.doCall(ResourceTagLib.groovy:398)
Users_johancarlsson_workspace_reportweb_grails_app_views_layouts_main_gsp$_run_closure1.doCall(main.gsp:11)
Users_johancarlsson_workspace_reportweb_grails_app_views_layouts_main_gsp.run(main.gsp:14)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
java.lang.Thread.run(Thread.java:722)
I'm certain that I have a module called "application" in ApplicationResources.groovy, so I wonder why it says I don't.
The text was updated successfully, but these errors were encountered: