• 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
New Eclipse Project not seeing Model
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

New Eclipse Project not seeing Model


  • Subject: New Eclipse Project not seeing Model
  • From: Calven Eggert <email@hidden>
  • Date: Wed, 06 Jun 2007 09:58:46 -0400
  • Thread-topic: New Eclipse Project not seeing Model

Title: New Eclipse Project not seeing Model
Good Morning all,

I’ve created a new Eclipse/WOLips application project, eSignature, and I’ve added a model file called eSignatureModel.  When running the application and add a new record into my database I get the following message:

...
com.webobjects.eoaccess.EOObjectNotAvailableException: databaseContextForModelNamed: cannot find model named eSignature associated with this EOEditingContext    at com.webobjects.eoaccess.EOUtilities.databaseContextForModelNamed(EOUtilities.java:769)    at com.webobjects.eoaccess.EOUtilities.rawRowsForSQL(EOUtilities.java:547)    at Application.databaseContextNewPrimaryKey(Application.java:97)    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)    at java.lang.reflect.Method.invoke(Method.java:324)    at com.webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java:120)    at com.webobjects.foundation._NSDelegate._perform(_NSDelegate.java:225)    at com.webobjects.foundation._NSDelegate.perform(_NSDelegate.java:170)    at com.webobjects.eoaccess.EODatabaseContext._primaryKeyForObject(EODatabaseContext.java:4743)    at com.webobjects.eoaccess.EODatabaseContext.prepareForSaveWithCoordinator(EODatabaseContext.java:5860)    at com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:409)    at com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3226)    at RequestEditor.submitRequest(RequestEditor.java:196)
...

As you can see, it is having trouble finding the model file.  I suspect that it had to do with the name of the model file not being the default name.  Any suggestions?

Calven
 _______________________________________________
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

  • Follow-Ups:
    • Re: New Eclipse Project not seeing Model
      • From: David Holt <email@hidden>
    • Re: New Eclipse Project not seeing Model
      • From: "Daniele Corti" <email@hidden>
  • Prev by Date: Re: Visual QuickProject Guide
  • Next by Date: WWDC meeting
  • Previous by thread: Re: Visual QuickProject Guide
  • Next by thread: Re: New Eclipse Project not seeing Model
  • Index(es):
    • Date
    • Thread