Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to configure Spring with Hibernate

 
Nagaraju Mulinti
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you mean...UserDetails.hbm file
 
madhuri kunchala
Ranch Hand
Posts: 350
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic