Help me - Problem with Jaser and MongoDB plugin

pissoft

New member
Help me - Problem with Jasper and MongoDB plugin

Hi all, can you help me

At command prompt I exec these commands:

1. grails create-app jasermongo
2. cd jaspermongo
3. grails install-plugin jasper
4. grails install-plugin mongodb
5. I comment out line //runtime ":hibernate:$grailsVersion" in grails-app/conf/BuildConfig.groovy
6. Start mongod
7. And finally I tray command grails run-app
And then I get errors

D:\devzone\workspace\jaspermongo>grails run-app
| Running Grails application
| Error 2012-03-04 08:03:41,044 [pool-7-thread-1] ERROR context.GrailsContextLoa
der - Error executing bootstraps: Error creating bean with name 'instanceTagLib
raryApi': Injection of autowired dependencies failed; nested exception is org.sp
ringframework.beans.factory.BeanCreationException: Could not autowire method: pu
blic void org.codehaus.groovy.grails.plugins.web.api.TagLibraryApi.setGspTagLibr
aryLookup(org.codehaus.groovy.grails.web.pages.TagLibraryLookup); nested excepti
on is org.springframework.beans.factory.BeanCreationException: Error creating be
an with name 'gspTagLibraryLookup': Invocation of init method failed; nested exc
eption is org.springframework.beans.factory.BeanCreationException: Error creatin
g bean with name 'org.codehaus.groovy.grails.plugins.jasper.JasperTagLib': Initi
alization of bean failed; nested exception is org.springframework.beans.factory.
BeanCreationException: Error creating bean with name 'jasperService': Cannot res
olve reference to bean 'transactionManager' while setting bean property 'transac
tionManager'; nested exception is org.springframework.beans.factory.NoSuchBeanDe
finitionException: No bean named 'transactionManager' is defined
Message: Error creating bean with name 'instanceTagLibraryApi': Injection of aut
owired dependencies failed; nested exception is org.springframework.beans.factor
y.BeanCreationException: Could not autowire method: public void org.codehaus.gro
ovy.grails.plugins.web.api.TagLibraryApi.setGspTagLibraryLookup(org.codehaus.gro
ovy.grails.web.pages.TagLibraryLookup); nested exception is org.springframework.
beans.factory.BeanCreationException: Error creating bean with name 'gspTagLibrar
yLookup': Invocation of init method failed; nested exception is org.springframew
ork.beans.factory.BeanCreationException: Error creating bean with name 'org.code
haus.groovy.grails.plugins.jasper.JasperTagLib': Initialization of bean failed;
nested exception is org.springframework.beans.factory.BeanCreationException: Err
or creating bean with name 'jasperService': Cannot resolve reference to bean 'tr
ansactionManager' while setting bean property 'transactionManager'; nested excep
tion is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named 'transactionManager' is defined
Line | Method
->> 334 | innerRun in java.util.concurrent.FutureTask$Sync
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 166 | run in java.util.concurrent.FutureTask
| 1110 | runWorker in java.util.concurrent.ThreadPoolExecutor
| 603 | run in java.util.concurrent.ThreadPoolExecutor$Worker
^ 722 | run . . . in java.lang.Thread

Caused by BeanCreationException: Could not autowire method: public void org.code
haus.groovy.grails.plugins.web.api.TagLibraryApi.setGspTagLibraryLookup(org.code
haus.groovy.grails.web.pages.TagLibraryLookup); nested exception is org.springfr
amework.beans.factory.BeanCreationException: Error creating bean with name 'gspT
agLibraryLookup': Invocation of init method failed; nested exception is org.spri
ngframework.beans.factory.BeanCreationException: Error creating bean with name '
org.codehaus.groovy.grails.plugins.jasper.JasperTagLib': Initialization of bean
failed; nested exception is org.springframework.beans.factory.BeanCreationExcept
ion: Error creating bean with name 'jasperService': Cannot resolve reference to
bean 'transactionManager' while setting bean property 'transactionManager'; nest
ed exception is org.springframework.beans.factory.NoSuchBeanDefinitionException:
No bean named 'transactionManager' is defined
->> 334 | innerRun in java.util.concurrent.FutureTask$Sync
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 166 | run in java.util.concurrent.FutureTask
| 1110 | runWorker in java.util.concurrent.ThreadPoolExecutor
| 603 | run in java.util.concurrent.ThreadPoolExecutor$Worker
^ 722 | run . . . in java.lang.Thread

Caused by BeanCreationException: Error creating bean with name 'gspTagLibraryLoo
kup': Invocation of init method failed; nested exception is org.springframework.
beans.factory.BeanCreationException: Error creating bean with name 'org.codehaus
.groovy.grails.plugins.jasper.JasperTagLib': Initialization of bean failed; nest
ed exception is org.springframework.beans.factory.BeanCreationException: Error c
reating bean with name 'jasperService': Cannot resolve reference to bean 'transa
ctionManager' while setting bean property 'transactionManager'; nested exception
is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean nam
ed 'transactionManager' is defined
->> 334 | innerRun in java.util.concurrent.FutureTask$Sync
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 166 | run in java.util.concurrent.FutureTask
| 1110 | runWorker in java.util.concurrent.ThreadPoolExecutor
| 603 | run in java.util.concurrent.ThreadPoolExecutor$Worker
^ 722 | run . . . in java.lang.Thread

Caused by BeanCreationException: Error creating bean with name 'org.codehaus.gro
ovy.grails.plugins.jasper.JasperTagLib': Initialization of bean failed; nested e
xception is org.springframework.beans.factory.BeanCreationException: Error creat
ing bean with name 'jasperService': Cannot resolve reference to bean 'transactio
nManager' while setting bean property 'transactionManager'; nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named '
transactionManager' is defined
->> 334 | innerRun in java.util.concurrent.FutureTask$Sync
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 166 | run in java.util.concurrent.FutureTask
| 1110 | runWorker in java.util.concurrent.ThreadPoolExecutor
| 603 | run in java.util.concurrent.ThreadPoolExecutor$Worker
^ 722 | run . . . in java.lang.Thread

Caused by BeanCreationException: Error creating bean with name 'jasperService':
Cannot resolve reference to bean 'transactionManager' while setting bean propert
y 'transactionManager'; nested exception is org.springframework.beans.factory.No
SuchBeanDefinitionException: No bean named 'transactionManager' is defined
->> 334 | innerRun in java.util.concurrent.FutureTask$Sync
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 166 | run in java.util.concurrent.FutureTask
| 1110 | runWorker in java.util.concurrent.ThreadPoolExecutor
| 603 | run in java.util.concurrent.ThreadPoolExecutor$Worker
^ 722 | run . . . in java.lang.Thread

Caused by NoSuchBeanDefinitionException: No bean named 'transactionManager' is d
efined
->> 334 | innerRun in java.util.concurrent.FutureTask$Sync
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 166 | run in java.util.concurrent.FutureTask
| 1110 | runWorker in java.util.concurrent.ThreadPoolExecutor
| 603 | run in java.util.concurrent.ThreadPoolExecutor$Worker
^ 722 | run . . . in java.lang.Thread
D:\devzone\workspace\jaspermongo>


Can everybody help me resole the big problem above
Thanks
 
Last edited:
Top