IntelliJ Java IDE
The moose likes Object Relational Mapping and the fly likes Hibernate MappingException Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Object Relational Mapping
Reply Bookmark "Hibernate MappingException" Watch "Hibernate MappingException" New topic
Author

Hibernate MappingException

kwame Iwegbue
Ranch Hand

Joined: Sep 02, 2000
Posts: 197
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 ]

Who dares, wins! (SAS motto)
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 16622

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
 
subject: Hibernate MappingException
 
Threads others viewed
MappingException occured
MappingException
MappingException
.MappingException
org.hibernate. MappingException
Two Laptop Bag