0 Replies Latest reply on Oct 7, 2010 8:42 AM by Rodrigo Moraes de Oliveira

    JBoss AS - Deploy with Grails + Error

    Rodrigo Moraes de Oliveira Newbie

      Hi guys,

       

      I don't know to resolve this wrong..

      How I can to resolve?

       

      Information: JBoss AS 4.3

       

      <code>

      ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/cvhweb]] Exception sending context destroyed event to listener instance of class org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener
      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSource': Initialization of bean failed; nested exception is 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)

      </code>