-->
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: Initial SessionFactory creation failed.java.lang.NoSuchMetho
PostPosted: Mon Jul 25, 2005 12:10 pm 
Newbie

Joined: Mon Mar 15, 2004 10:07 am
Posts: 4
hello everybody,

i'm new to hibernate/java etc ...
i have just place hibernate in my web application. i have made an ant file that uses the middlegen plugin to generate the java classes and the hbm.xml files.

i've copied the class HibernateUtil.java to my project. I've done a main that only do :
Session session = HibernateUtil.currentSession();

i obtain the following error:
Initial SessionFactory creation failed.java.lang.NoSuchMethodError
java.lang.ExceptionInInitializerError: java.lang.NoSuchMethodError

does anyone have an idea ? i really need to fix this problem cause i'm already late in my work.

thanks all :-)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 25, 2005 5:21 pm 
Newbie

Joined: Mon Mar 15, 2004 10:07 am
Posts: 4
i have forgotten to say that i use JDK1.3...


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 25, 2005 6:09 pm 
Senior
Senior

Joined: Thu May 12, 2005 11:40 pm
Posts: 125
Location: Canada
Recompile Hibernate using your JDK


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.