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: Chuck Hill <email@hidden>
- Date: Thu, 10 Jan 2008 10:35:54 -0800
Hi Ken,
On Jan 10, 2008, at 8:55 AM, Ken Ishimoto wrote:
Wow, this Answer saved me from getting crazy...
I tried for 7 hours now, the some Problem. I recreate the Project 5
times, and and........
but, WHYYYYYY
There are different project layouts in WOLips. One of the big
differences is how resources (files, models, etc.) are included in
the application. The "Wonder"* layout requires that all resources be
created in the Resources directory. This is the default now for
WOLips. BUT when that tutorial was written a different project
layout was used. That other layout does not require the resources to
be in Resources.
So... that tutorial is now out of date for recent versions of WOLips.
Chuck
* I think actually Anjo's layout, but it was originally created for
Project Wonder and that is that I keep calling it. The default
layout in WOLips follows Anjo's work, but does not include Project
Wonder.
Thanks anyway you helped me a lot
Ken Ishimoto
On 2007/12/22, at 9:43, Craig St Jean wrote:
Wow, that was easy... I moved the models into Resources in Eclipse
and it works now.
Thank you!
On Dec 22, 2007, at 3:31 AM, Daniele Corti wrote:
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'm trying to follow Janine's WebObjects Tutorial (http://
wotutorial.furfly.com/downloads.html)
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 )
Help/Unsubscribe/Update your Subscription:
40gmail.com
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:
40ksroom.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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