File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Need help with BuildSessionFactory 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 » Frameworks » Struts
Bookmark "Need help with BuildSessionFactory" Watch "Need help with BuildSessionFactory" New topic

Need help with BuildSessionFactory

kashwini Kulkarni
Ranch Hand

Joined: Aug 07, 2009
Posts: 63

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 .

jQuery in Action, 2nd edition
subject: Need help with BuildSessionFactory
Similar Threads
ExceptionInInitializerError NoClassDefFoundError
Query Regd Hibernate !
Problem in resource finding
Weblogic error messages/logs
what is the default location of hibernate.cfg.xml