Strange Behavior with EOModelGroup
Strange Behavior with EOModelGroup
- Subject: Strange Behavior with EOModelGroup
- From: "Daniele Corti" <email@hidden>
- Date: Thu, 20 Sep 2007 17:33:24 +0200
Hi all,
I'm making a new version of an app, so I simply create a new Project in Eclipse (I made a WonderApplication, but the problem is out wonder), then I add a EOModel that I use in the other app and I get this error:
java.lang.IllegalArgumentException: An object store for the entity "store.gestweb.model.GWSUser" could not be found. Verify that the entity is defined in an EOModel, and that the model is installed properly. To see what models are loaded, you can try printing the return value of
EOModelGroup.defaultGroup() in your application.
Ok, I delete the Model, then I create another, in EOModeler, from the DB, and create the relations (the new model has a different name from the previous). I add the new model to the app but I get still the error.
I try to display EOModelGroup.defaultGroup() and I see the model is installed: <EOModelGroup (("GWStoreV2", "file:/Users/daniele/Documents/workspace/GWStoreV2/build/GWStoreV2.woa/Contents/Resources/GWStoreV2.eomodeld"))>
I don't know what to think, this isn't the first time I create a new app.
Thanks for every help!
--
Daniele Corti
AIM: S0CR4TE5
Messenger:
email@hidden--
Computers are like air conditioners -- they stop working properly if you open
WINDOWS
--
What about the four lusers of the apocalypse? I nominate:
"advertising", "can't log in", "power switch" and "what backup?"
--Alistair Young
_______________________________________________
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