1 Reply Latest reply on Jan 25, 2011 8:32 AM by Wolfgang Knauf

    Migration to JBOSS 6.0.0 with old hibernate library?

    eldorado Newbie

      Hi dear JBOSS Community!

       

      I worked for a while on my project which works fine in JBOSS AS 4.2.2 environment using hibernate 3.2.x Springframework 2.5.x and JPA. Now i have to migrate to final version of JBOSS AS and there are some problems like 

       

      ERROR [ContextLoader] Context initialization failed: org.springframework.beans.factory.access.BootstrapException: Unable to initialize group definition. Group resource name [classpath*:beanRefContext.xml], factory key [server.context]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'server.context' defined in URL [xxxx.jar/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0' defined in class path resource [container-context.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [container-context.xml]: Invocation of init method failed; nested exception is java.lang.AbstractMethodError

       

      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [container-context.xml]: Invocation of init method failed; nested exception is java.lang.AbstractMethodError

      ...

       

      Is there any possibility to use the old libraries (Hibernate, Spring and JPA) in JBOSS 6 ? Do i need to maintain configurations?

      I could not find a proper tutorial regarding migration, it would be very nice if someone could help or tell about his/her experince..

       

       

      Thanks in advance for your answers!