Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Won't Fix
-
Affects Version/s: 1.1-RC2
-
Fix Version/s: 1.2-M1
-
Component/s: Persistence
-
Labels:None
-
Environment:jboss 4.2.1, default config
Description
When I create war from a grails 1.1rc2 project with GrailsAnnotationConfiguration as part of the datasource I get the following:
Caused by: 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 org.hibernate.AnnotationException: java.lang.NoSuchMethodException: org.hibernate.validator.ClassValidator.<init>(java.lang.Class, java.util.ResourceBundle, org.hibernate.validator.MessageInterpolator, java.util.Map, org.hibernate.annotations.common.reflection.ReflectionManager)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivileged(Native Method)
This exact issue is happening with JBoss 4.2.2 and Grails 1.3.5
Sorry I thought when I cloned I would be able to edit the version information which it doesn't appear I can do.