wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Unable to configure Spring with Hibernate" Watch "Unable to configure Spring with Hibernate" New topic

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

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
Similar Threads
No bean named '' is defined
Unable to connect to database
Problem with configurate Spring and Hibernate
Spring MultiActionController methodNameResolver invalid property error
Problem in AnnotationSessionFactoryBean crration.