Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Need help with BuildSessionFactory  RSS feed

kashwini Kulkarni
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am trying an application with struts-hibernate-eclipse.The application was working fine.
My application stopped executing all of the sudden with the following error :

Null Pointer Exception at

_factory = configuration.buildSessionFactory();

I created a sample application and checked for all required files.


Bean required for hibernate along with its counterpart xml file

But still struggling with the error.

Can anyone please let me know what else I need to check or what can be missing?
I will be thankful if someone can send me a good link explaining in detail about BuildSessionFactory .

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!