Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error reading resource: product.hbm.xml

 
burt will
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Pavan Tummala
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OOPs .. the previous message should be.. "I am not really an Expert in Hibernate"

--
Pavan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic