Joined: Wed Aug 24, 2005 12:07 pm Posts: 17
|
Hi friends,
I am using hibernate v2.1.6 with tomcat .I have configured everything necessary for hibernate environment.
Here is the code snippet:::
Configuration config = new Configuration();
config.configure();
SessionFactory sessionFactory =config.buildSessionFactory();
The error occurs on the last line i.e
SessionFactory sessionFactory =config.buildSessionFactory();
On the console of exo-tomcat it gives me error:
java.lang.ExceptionInInitializerError
I m not getting any idea about this error.All suggestions are welcome.
Thanks in advance
Chirag.
|
|