Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate: MappingNotFoundException

 
Arnob Dey
Greenhorn
Posts: 28
Eclipse IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I'm new to Hibernate attempting to learn the very basics. I been following along the video tutorials at Javabrains.

I can't figure out what went wrong with the following code:

jdk: 1.8_45
IDE: Eclipse
Hibernate: 4.3.6
Database: PostgreSQL


hibernate.cfg.xml




UserDetails.java



HibernateTest.java



Please help me out if you can.
 
Paul Clapham
Sheriff
Posts: 21576
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a reason you think something went wrong with it? If so, what is that reason?
 
Arnob Dey
Greenhorn
Posts: 28
Eclipse IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh,..Sorry my bad ! I forgot to mention the actual issue.

Exception in thread "main" org.hibernate.MappingNotFoundException: resource: org.hibernate.tutorials.model.dto.UserDetails not found
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic