Re: Re-factoring Main component
Re: Re-factoring Main component
- Subject: Re: Re-factoring Main component
- From: David Avendasora <email@hidden>
- Date: Mon, 8 Sep 2008 09:04:08 -0400
On Sep 8, 2008, at 8:28 AM, Andrew R. Kinnie wrote:
I presume I am missing something here. It is not that big of a deal as I could obviously just use the name "Main" instead of PageWrapper but I would just like to know what is happening and why. Any insight would be appreciated.
Andrew
Application: | MyApp | Error: | java.lang.IllegalArgumentException: Class 'Main' exists but is not a subclass of WOComponent. | Reason: | <com.webobjects.appserver._private.WOComponentDefinition> Class 'Main' exists but is not a subclass of WOComponent. | Stack trace: |
|
WO is not grabbing the Main component you think it is. it's using a "Main" Class in some other package but because it isn't a component, doesn't subclass WOComponent. You need to make sure that your app is loading the correct Main class.
Dave
|
_______________________________________________
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