-
Jan 4th, 2012, 05:43 AM
#1
Upgraded from Grails 1.3.7 to 2.0 and am getting 'method <init>()V not found' error
Environment: Eclipse Indigo w/Grails plugin 2.0.0 & STS 2.8.1. Tried jdk 1.6.0_25 and 1.7.
Error occurs during Grail run-app startup command.
Full Stack trace:
2012-01-04 05:01:40,814 [Thread-7] ERROR context.GrailsContextLoader - Error executing bootstraps: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.InstantiationException: could not instantiate test objectcom.primetherapeutics.statusweb.StatusWebUse rDetails
org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.InstantiationException: could not instantiate test objectcom.primetherapeutics.statusweb.StatusWebUse rDetails
at java.util.concurrent.FutureTask$Sync.innerRun(Futu reTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.jav a: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.BeanCreationExce ption: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.InstantiationException: could not instantiate test objectcom.primetherapeutics.statusweb.StatusWebUse rDetails
... 5 more
Caused by: org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.InstantiationException: could not instantiate test objectcom.primetherapeutics.statusweb.StatusWebUse rDetails
... 5 more
Caused by: org.hibernate.InstantiationException: could not instantiate test objectcom.primetherapeutics.statusweb.StatusWebUse rDetails
... 5 more
Caused by: java.lang.reflect.InvocationTargetException
... 5 more
Caused by: java.lang.NoSuchMethodError: org.springframework.security.core.userdetails.User : method <init>()V not found
... 5 more
Any suggestions would be greatly appreciated!
Last edited by dj8; Jan 4th, 2012 at 01:21 PM.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules