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!