Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-6904

Ban org.hibernate:hibernate in favor of org.hibernate:hibernate-core

XMLWordPrintable

      2009-05-11 15:47:18,714 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController:955] (RMI TCP Connection(2)-127.0.0.1) Error installing to Start: name=persistence.unit:unitName=ejb3_annotations_entity_vehicles.ear/lib/ejb3_annotations_entity.jar#CTS-EM state=Create
      java.lang.NoClassDefFoundError: net/sf/cglib/proxy/CallbackFilter
      at org.hibernate.bytecode.cglib.BytecodeProviderImpl.getProxyFactoryFactory(BytecodeProviderImpl.java:33)
      at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactoryInternal(PojoEntityTuplizer.java:182)
      at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:160)
      at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:135)
      at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)
      at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.<init>(EntityEntityModeToTuplizerMapping.java:56)
      at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:302)
      at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:434)
      at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:109)
      at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
      at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:226)
      at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1300)
      at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
      at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
      at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:132)
      at org.jboss.jpa.deployment.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:301)

      Javassist should be configured, but instead we've got:

      20:40:24,199 INFO [Environment] Hibernate 3.2.6
      20:40:24,214 INFO [Environment] hibernate.properties not found
      20:40:24,223 INFO [Environment] Bytecode provider name : cglib

      While it really should have been:

      07:49:27,429 INFO [Environment] Hibernate 3.3.1.GA
      07:49:27,483 INFO [Environment] hibernate.properties not found
      07:49:27,493 INFO [Environment] Bytecode provider name : javassist

              rhn-engineering-cdewolf Carlo de Wolf
              rhn-engineering-cdewolf Carlo de Wolf
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: