-->
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.  [ 4 posts ] 
Author Message
 Post subject: Error in Hibernate 3.1B4
PostPosted: Tue Aug 30, 2005 4:26 pm 
Newbie

Joined: Tue Aug 30, 2005 4:11 pm
Posts: 3
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version: 3.1B4

java.lang.NoSuchMethodError: org.hibernate.cfg.Mappings.<init>(Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/List;Ljava/util/List;Lorg/hibernate/cfg/NamingStrategy;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;)V
at org.hibernate.cfg.ExtendedMappings.<init>(ExtendedMappings.java:48)
at org.hibernate.cfg.AnnotationConfiguration.createExtendedMappings(AnnotationConfiguration.java:131)
at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:194)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1084)
at br.com.sistemasproissionais.importacao.server.Hibernate.iniciarHibernate(Hibernate.java:87)
at br.com.sistemasproissionais.importacao.threads.ThreadPrincipal.iniciarHibernate(ThreadPrincipal.java:126)
at br.com.sistemasproissionais.importacao.threads.ThreadPrincipal.run(ThreadPrincipal.java:161)
at java.lang.Thread.run(Unknown Source)


Top
 Profile  
 
 Post subject: My version is Hibernate3.1B2 and not B4
PostPosted: Tue Aug 30, 2005 4:31 pm 
Newbie

Joined: Tue Aug 30, 2005 4:11 pm
Posts: 3
My version is Hibernate3.1B2 and not B4


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 31, 2005 10:24 am 
Beginner
Beginner

Joined: Thu Jan 06, 2005 6:11 am
Posts: 32
Location: Magdeburg, Germany
annotations currently only work with 3.1B1 - change to beta 1 and it should be fine.

I'm also waiting for an update of the annotations package...


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 31, 2005 10:25 am 
Beginner
Beginner

Joined: Thu Jan 06, 2005 6:11 am
Posts: 32
Location: Magdeburg, Germany
Please rate the answer if it was helpful :-)


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.