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 :-)
|
|