Click here to Skip to main content
15,886,864 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everyone
I want to do an app that integrate hibernate with struts. I have all correct "hibernate.cfg.xml" and i put this file in the right place. And i build an hibernate plugin to use for action servlets. I look like everything is ok, i have referenced on google, and i do the same but i still get this when run the app on server
"Configured SessionFactory: null" and then "Unable to initialize Struts ActionServlet due to an unexpected exception or error thrown"

Could anyone help me please. Tell me what did i do wrong?

Thanks for any comments
CK
Posted

1 solution

Check the libraries, you'll have forgotten some or differences in there.
Also make sure you have only a "struts.jar" OR "struts-coreXXXX.jar" in there. Occurred to me one time and did cost time - lots of time.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900