users@glassfish.java.net

Re: ClassNotFoundException driving me crazy!! Help!

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Wed, 05 Aug 2009 17:16:22 -0700

Check Hibernate code which classloader they are using to load the class...

Does it work if you put Foo.class into a jar in gf/lib dir?

Regards,
-marina

gjrwebber wrote:
> Absolutely!
>
> The whole problem lies with the fact that I can persist the Hashset by first
> populating it with a bunch of instances of Foo, but then I try to retrieve
> it and I get the CNFE. Its crazy!