-->
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.  [ 2 posts ] 
Author Message
 Post subject: Not work with hibernate3.1rc3
PostPosted: Tue Nov 22, 2005 4:06 am 
Newbie

Joined: Sat Oct 01, 2005 8:31 am
Posts: 2
I use hibernate tools in a ant task to export database tables. My code works fine with hibernate3.1 rc2. When use the rc3 jar file replaces the rc2 jar file, error comes out.


Hibernate version:
Hibernate 3.1 rc3 + Hibernate-tool 3.1 beta1

Ant task
Code:
   <target name="hib.gen">
      <hibernatetool destdir="${etc.dir}">         
         <annotationconfiguration configurationfile="${etc.dir}/hibernate.cfg.xml"/>
         <hbm2ddl drop="true"/>
      </hibernatetool>
   </target>


Full stack trace of any exception that occurs:
Code:
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;Ljava/util/List;)V


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 22, 2005 5:36 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
use the hibernate that comes with the tools to run the tools

_________________
Max
Don't forget to rate


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