Re: Could not find EOClassDescription for entity name... ("newbie")
Re: Could not find EOClassDescription for entity name... ("newbie")
- Subject: Re: Could not find EOClassDescription for entity name... ("newbie")
- From: "Daniele Corti" <email@hidden>
- Date: Sat, 22 Dec 2007 09:31:47 +0100
If you have defined your EOModel Properly, this is probably caused by your build that does not contain the new EOModel. Try to clean your project, and rebuilt it.
2007/12/22, Craig St Jean <
email@hidden>:
Hello all,
I've created my model just fine, generated the code, and created an AddEdit component.
In the AddEdit code, I have the following line:
displayBoard = (DisplayBoard)EOUtilities.createAndInsertInstance(session().defaultEditingContext(), "DisplayBoard");
Where DisplayBoard is the model I've generated.
When I try to run the project though, I get this:
Application: nhlpm
Error: java.lang.IllegalArgumentException exception
Reason:
java.lang.IllegalArgumentException
: Could not find EOClassDescription for entity name 'DisplayBoard' !
I'm sure I just missed something but I can't seem to find it. The DisplayBoard class references the same string, and I'm not sure if it needs to be registered somewhere, or whats going on.
Any ideas?
(Note: using WOLips + WebObjects 5.4)
Thanks!!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden
This email sent to email@hidden
--
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