• 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: 17309
11
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
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!