1. Unknown entity exception when Entities are in multiple jars stackoverflow.comI am getting this exception while running maven test. ERROR - Application could not be deployed: classpath.ear org.apache.openejb.OpenEJBException: Creating application failed: classpath.ear: org.hibernate.AnnotationException: @OneToOne or @ManyToOne on net.atos.wlp.cns.core.record.ClearingRecord.clearingBatch references an unknown entity: ... |
2. Unknown entity exception when Entities are in multiple jars stackoverflow.comI am getting this exception while running maven test. ERROR - Application could not be deployed: classpath.ear org.apache.openejb.OpenEJBException: Creating application failed: classpath.ear: org.hibernate.AnnotationException: ... |
3. Mapping exception after moving entities into external jar forum.hibernate.orgHi there, In my Java/Seam/JbossAS app, I decided to externalize my Model classes (hibernate entities) and moved them into another project. The mappings are done via annotations. The project produces model.jar, which is then used by the main app. The model.jar dependency is resolved by Ivy. Building the main app with Ant works without problems. Then I copy manually the model.jar ... |
4. HibernateUtil throws Exception when bundeled in jar forum.hibernate.orghi all, I am creating a webService and using Hibernate3.0 . I am using Axis2 ( version 0.95 ) for creating webService . When i make aar ( 'axis archive' , a file like jar ) of my project , following exception is thrown . Although when i run my project with-out bundeling in jar , it works fine . Actually ... |