Re: More EOModeler Insanity
Re: More EOModeler Insanity
- Subject: Re: More EOModeler Insanity
- From: David Holt <email@hidden>
- Date: Fri, 13 Aug 2004 07:11:49 -0700
Sounds like a problem with which checkbox you ticked on importing the
file into your project. I right click on the resources folder, then
select "add existing files" and select the "Create folder references
for any added folders" checkbox in the resulting dialog box. That will
make the model folder blue and allow the project to access it properly.
Also make sure that you placed the resource in the Application Server
target. HTH
David
--
Your friends will know you better in the first minute you meet than
your acquaintances will know you in a thousand years.
Richard Bach Illusions
from Sunbeams: http://www.thesunmagazine.org
On 13-Aug-04, at 5:02 AM, Andrew Kinnie wrote:
> I'm back. Yesterday I posted about trying to create a new website
> based on an old 5.1 site i built over a year ago. Now I am running OS
> X 10.3 and WO 5.2. I finally managed to get EOModeler to see my model
> from my old site, however, I seem to be having issues with getting it
> into the project in XCode. I have tried dragging it from the finder
> into the Resources group, as well as doing a save as from EOModeler.
> Both times I tell it to put it in Application Server, and both times it
> appears as a folder in XCode's resources group, and not as an EOModel
> file. The project compiles but then gives me this exception:
>
> Application: MyApp
> Error: java.lang.IllegalStateException exception
> Reason:
> java.lang.IllegalStateException: An Exception occurred while
> generating the Exception page 'WOExceptionPage'. This is most likely
> due to an error in 'WOExceptionPage' itself or WebObjects encountered
> an uncaught exception while creating a Session object.
>
>
> Below are the logs of the original Exception which occured in
> Application, then the later Exception in WOExceptionPage.
>
> Original Exception:
> java.lang.IllegalStateException: Unabled to find an
> EOClassDescription
> for objects of class MyClass
> at
> com.webobjects.eocontrol.EOGenericRecord.__setClassDescription(EOGeneri
> c
> Record.java:98)
> at
> com.webobjects.eocontrol.EOGenericRecord.<init>(EOGenericRecord.java:
> 72)
> at MyClass.<init>(MyClass.java:12)
> ...
>
>
> So, is there some other way to get the model into a WO 5.2 project
> under XCode? It has been a while since I've worked with WO, but I
> don't recall these problems before.
>
> Thanks in advance
> _______________________________________________
> webobjects-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/webobjects-dev
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.