Sumit Bisht wrote:" Could not instantiate bean class [org.hibernate.cfg.Configuration]"
I'd guess your classpath does not have jar files for hibernate.
Thanks for your answer,
I'm not sure you are right. because I have added the cfg package to libraries beside my project.
It works well while I use hibernate alone or spring alone. forexample setter injection and/or constructor injection work well.
and I have also Implemented CRUD using hibernate and sure it works well.
But when it comes to integration the problem shows itself.
I'm still working on it.