This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes ExceptionInInitializerError while creating session Factory. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "ExceptionInInitializerError while creating session Factory." Watch "ExceptionInInitializerError while creating session Factory." New topic
Author

ExceptionInInitializerError while creating session Factory.

Deepika Saxena
Ranch Hand

Joined: Jul 05, 2009
Posts: 59
Hi,
I am getting java.lang.ExceptionInInitializerError while creating the session factory in a static block.
Please find the exception details The line "Print This" is not printed in console.I suspect this could be due to apache logging library and removed it from the project classpath. then i got the following exception.
Please help me in resolving this compilation issue.
Thanks in advance for any small help.
--Deepika
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ExceptionInInitializerError while creating session Factory.
 
Similar Threads
Initial SessionFactory creation failed.java.lang.ExceptionInInitializerError
Hibernate cfg xml and Eclipse problem
session.flush(); gives null
log4j errors
Problem parsing with hibernate.cfg.xml file.