Re: Entity Object Instantiation Failure
Re: Entity Object Instantiation Failure
- Subject: Re: Entity Object Instantiation Failure
- From: François Reboursier <email@hidden>
- Date: Wed, 1 Jun 2005 09:28:51 +0200
On Jun 1, 2005, at 8:57, Colin Shreffler wrote: I am pretty new to web objects. I am trying to instantiate an instance of an Entity object in the constructor of my Main class file: newPerson = new Person(); As soon as this code is executed, I’m getting an exception like the following: Application: SimpleEOTest Error: java.lang.IllegalStateException: Unabled to find an EOClassDescription for objects of class Person Reason: Unabled to find an EOClassDescription for objects of class Person The description of entity classes are contained in the .eomodeld file. So your error means that the WO Server is unable to read the file; check if your .eomodeld file is present in the "Copy Bundle Ressource" build phase of the "Application Server" target of your project. If not add your .eomodeld to this target and rebuild the project.
François |
Attachment:
PGP.sig
Description: This is a digitally signed message part
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden