aspose file tools*
The moose likes Spring and the fly likes Unable to configure Spring with Hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Spring
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: 37
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 ----->

David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

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: 37
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to configure Spring with Hibernate