• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate MappingException

 
kwame Iwegbue
Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a simple Hibernate test class that runs correctly. However, when I try to step through the code I get this error while stepping through HibernateUtil:



Anyone know why? Incidentally, the same thing happens when I'm trying to do integration testing with TestNG.

Also, if this helps, I've been able to track the problem down to this code in org.hibernate.cfg.Configuration, in the method secondPassCompile() which throws a MappingException



[ May 11, 2007: Message edited by: kwame Iwegbue ]
[ May 11, 2007: Message edited by: kwame Iwegbue ]
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Seems to be either a different jar that doesn't have that class with that method.

Are you including all the correct Hibernate jars with your stuff?

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic