Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ExceptionInInitializerError while creating session Factory.

Deepika Saxena
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!