Re: EOClassDescription not found
Re: EOClassDescription not found
- Subject: Re: EOClassDescription not found
- From: david <email@hidden>
- Date: Sat, 13 Dec 2003 02:01:31 +0100
Hi,
Error: java.lang.IllegalStateException: Unabled to find an
EOClassDescription for objects of class Customers
Reason: Unabled to find an EOClassDescription for objects of class
Customers
check if you have static parts that use EOF. If so remove the code and
replace it for example with lazy initialization. Things like
public myclass extends whatever {
public static EOEditingContext ec = new EOEditingContext();
...
}
is not recommended: it forces EOF to initialize maybe even before all
bundles are loaded and this may produce errors which are very hard to
find. Also please check is you are using jikes and if so please use
version 1.15, afaik all others make problems, too.
cheers David
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.