aspose file tools*
The moose likes Object Relational Mapping and the fly likes  Error reading resource: product.hbm.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark " Error reading resource: product.hbm.xml" Watch " Error reading resource: product.hbm.xml" New topic
Author

Error reading resource: product.hbm.xml

burt will
Greenhorn

Joined: Aug 02, 2005
Posts: 2
hi all,
i get the error net.sf.hibernate.MappingException: Error reading resource: product.hbm.xml


i believe my hbm.xml file is good as i used it before fine. i am using this in a web appliacation running on tomcat 5.5. i am using hibernate 2

please can someone shead some light on this issue for me please...thank you.
Pavan Tummala
Ranch Hand

Joined: Dec 25, 2004
Posts: 74
Burt,
I am really an expert in hibernate but recently started working on it. so hers my piece of advice.
It could be that Hibernate is not able to find your mapping files you specified in Hibernate.cfg.xml file. If thats not the problem then the problem should be in your mapping file.
Let me know if you figure out this issue.

--
Pavan


If Java had true garbage collection, most programs would delete themselves upon execution -- Robert Sewell
Pavan Tummala
Ranch Hand

Joined: Dec 25, 2004
Posts: 74
OOPs .. the previous message should be.. "I am not really an Expert in Hibernate"

--
Pavan
 
 
subject: Error reading resource: product.hbm.xml