File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes Unable to configure Spring with Hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Application Frameworks » Spring
Reply Bookmark "Unable to configure Spring with Hibernate" Watch "Unable to configure Spring with Hibernate" New topic
Author

Unable to configure Spring with Hibernate

Nagaraju Mulinti
Ranch Hand

Joined: Aug 10, 2008
Posts: 36
Hi All,

I am trying to configure Spring MVC framework with hibernate, but when I run the application Its getting the below exception. Could you please suggest me that how to configure this and let me know If I'm configured wrongly in servlet XML file below..

Thanks in advance..!


Exception Details here------>








Spring servlet XML file here ----->

This message was edited 2 times. Last update was at by Nagaraju Mulinti

David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12612
Please UseCodeTags when posting code or configuration. Unformatted code and configuration is unnecessarily difficult to read. You can edit your post by using the button.

Are you deploying all the required dependencies? You're clearly missing a class.
Nagaraju Mulinti
Ranch Hand

Joined: Aug 10, 2008
Posts: 36
you mean...UserDetails.hbm file
madhuri kunchala
Ranch Hand

Joined: Mar 30, 2010
Posts: 350
you can edit the message what you posted..on the above you see CODE Button..use that what David is saying
Mark Secrist
Ranch Hand

Joined: Jul 01, 2003
Posts: 89
This is probably the crux of the matter.

This is usually because the library containing this class didn't make it into the deployment. It should be found under WEB-INF/lib in the deployment. In this case, the dom4j-<version>.jar file should be there.

Alternatively, I've seen cases where the JAR file is deployed but the version is missing expected elements.
 
 
subject: Unable to configure Spring with Hibernate
 
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture