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 Hibernate mapping issue in Spring WEB MVC Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Spring
Reply Bookmark "Hibernate mapping issue in Spring WEB MVC" Watch "Hibernate mapping issue in Spring WEB MVC" New topic
Author

Hibernate mapping issue in Spring WEB MVC

Nagaraju Mulinti
Ranch Hand

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


I am trying to run the Spring web mvc with hibernate application,but when I ran it I'm getting the below exception. Can you please suggest me that how to fix the issue.

Thanks in advance..!


The below is exception

Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 16624

It can't find a mapping file

nested exception is java.io.FileNotFoundException: class path resource [com/user.hbm.xml] cannot be opened because it does not exist

is the user.hbm.xml file in the com directory off of the root classpath?

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
 
subject: Hibernate mapping issue in Spring WEB MVC
 
Threads others viewed
spring 2.5.3 / hibernate 3 sessionFactory NullPointerException
Error defining a bean. Please help
Error: problem parsing configuration / hibernate.cfg.xml
Spring Hibernate Iceface configuration file get DTD and workoffline
startup will throw exception for 6.0.10
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com

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