java - Configuring Hibernate with grails -
i have created created grails application , created spring security plugin set it.
when run application next error. hibernate folder empty. can help me resolve this?
2014-06-20 13:41:26,946 [http-bio-8080-exec-21] error [/grailsloginwithspring].[gsp] - servlet.service() servlet [gsp] in context path [/grailsloginwithspring] threw exception message: org.springframework.beans.factory.beancreationexception: error creating bean name 'org.grails.internal.session_factory_holder': cannot create inner bean '(inner bean)#3720a15d' of type [org.codehaus.groovy.grails.orm.hibernate.configurablelocalsessionfactorybean] while setting bean property 'sessionfactory'; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name '(inner bean)#3720a15d': invocation of init method failed; nested exception java.io.filenotfoundexception: class path resource [hibernate.cfg.xml] cannot resolved url because not exist
try adding
hibernate { reload = false } as suggested graeme rocher in jira
java spring hibernate grails
No comments:
Post a Comment