aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
log4j errors
Problem parsing with hibernate.cfg.xml file.
Initial SessionFactory creation failed.java.lang.ExceptionInInitializerError
session.flush(); gives null
Hibernate cfg xml and Eclipse problem