• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Entity Object Instantiation Failure
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
Reaso
n:     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

  • Next by Date: ERD2WEditToOneRelationship
  • Next by thread: ERD2WEditToOneRelationship
  • Index(es):
    • Date
    • Thread