grails / grails-core

The Grails Web Application Framework
http://grails.org
Apache License 2.0
2.78k stars 949 forks source link

GRAILS-2710: grails-samples 's bookmarks can not run in Grails 1.0.2 #8301

Closed graemerocher closed 9 years ago

graemerocher commented 16 years ago

Original Reporter: agile Environment: Debian JDK5 Grails 1.0.2 Version: 1.0.2 Migrated From: http://jira.grails.org/browse/GRAILS-2710

when I upgrade,the grails run-app,it throws the exception:

2008-03-25 15:33:35.310::WARN: Failed startup of context org.mortbay.jetty.webapp.WebAppContext@21ec03{/bookmarks,/home/agile/download/bookmarks/web-app} org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is java.lang.NullPointerException at java.security.AccessController.doPrivileged(Native Method) at RunApp_groovy$_run_closure2_closure7.doCall(RunApp_groovy:68) at RunApp_groovy$_run_closure2_closure7.doCall(RunApp_groovy) at Init_groovy$_run_closure6.doCall(Init_groovy:128) at RunApp_groovy$_run_closure2.doCall(RunApp_groovy:67) at RunApp_groovy$_run_closure2.doCall(RunApp_groovy) at RunApp_groovy$_run_closure1.doCall(RunApp_groovy:59) at RunApp_groovy$_run_closure1.doCall(RunApp_groovy) at gant.Gant.dispatch(Gant.groovy:271) at gant.Gant.this$2$dispatch(Gant.groovy) at gant.Gant.invokeMethod(Gant.groovy) at gant.Gant.processTargets(Gant.groovy:436) at gant.Gant.processArgs(Gant.groovy:372) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is java.lang.NullPointerException at java.security.AccessController.doPrivileged(Native Method) ... 13 more

see detail stacktrace.log

graemerocher commented 13 years ago

graemerocher said: Bulk closing bunch of resolved issues