4 Replies Latest reply on Jul 15, 2009 7:17 AM by Joram Barrez

    JBPM 4.0 - Missing Class JpdlExecution

    sri r Newbie

      Hi,

      After i took the latest JBPM 4.0, noticed the below error.
      With CR1, the same test case was running fine.


      Caused by: org.hibernate.MappingException: proxy class not found: org.jbpm.jpdl.internal.model.JpdlExecution
       at org.hibernate.mapping.PersistentClass.getProxyInterface(PersistentClass.java:132)
       at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:138)
       at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:158)
       at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:76)
       at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.<init>(EntityEntityModeToTuplizerMapping.java:80)
       at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:325)
       at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:457)
       at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:131)
       at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:84)
       at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:261)
       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327)
       at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:814)
       at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:732)
       at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
       ... 89 more
      Caused by: java.lang.ClassNotFoundException: org.jbpm.jpdl.internal.model.JpdlExecution
      


      It fails why trying to load jbpm.jpdl.hbm.xml which has

      <subclass name="org.jbpm.jpdl.internal.model.JpdlExecution"
       extends="org.jbpm.pvm.internal.model.ExecutionImpl"
       discriminator-value="jpdl">
      


      Where did the class go? May be my eyes need a checkup...

      Thanks
      -Sridhar