Re: EOClassDescription not found
Re: EOClassDescription not found
- Subject: Re: EOClassDescription not found
- From: David Griffith <email@hidden>
- Date: Tue, 16 Dec 2003 18:36:00 +0100
Nope, this is a basic app, done in exactly the same way as I always did
before, but now it gives this error.
Anyone any other ideas?
Regards,
Dave.
> 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.
_______________________________________________
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.