Joined: Tue Apr 18, 2006 3:59 am Posts: 9
|
Is there any known prolems with some of versions of hibernate-annotations or ejb3-persistence with weblogic 9.1 ?
I'm using :
- hibernate : 3.2.0.cr1
- hibernate-annotations : 3.1beta9
My problem is to build the session factory, I have this error :
Caused by: java.lang.NoSuchMethodError: javax.persistence.ManyToMany.mappedBy()Ljava/lang/String;
at org.hibernate.cfg.AnnotationBinder.processElementAnnotations(AnnotationBinder.java:1285)
at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:641)
at org.hibernate.cfg.AnnotationConfiguration.processArtifactsOfType(AnnotationConfiguration.java:295)
at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:216)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1172)
at util.HibernateUtil.(HibernateUtil.java:23)
outside weblogic I don't have any problem with same hibernate annotation...
|
|