Forums Register Login

Hibernate MappingException

+Pie Number of slices to send: Send
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 ]
+Pie Number of slices to send: Send
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
I knew I would regret that burrito. But this tiny ad has never caused regrets:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 2888 times.
Similar Threads
MappingException
.MappingException
org.hibernate. MappingException
MappingException occured
MappingException
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 05:46:56.