-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: NoSuchMethodError with weblogic 9.1
PostPosted: Thu Apr 20, 2006 8:50 am 
Newbie

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...


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 27, 2006 9:55 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
dunno do they embedded a version of javax.persistence apis?

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 27, 2006 10:53 am 
Newbie

Joined: Tue Apr 18, 2006 3:59 am
Posts: 9
yes, they do... :(

http://forum.hibernate.org/viewtopic.ph ... highlight=


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.