• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Re-factoring Main component
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

Look here for more info: http://lists.apple.com/archives/webobjects-deploy/2007/Nov/msg00008.html

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

References: 
 >Re-factoring Main component (From: "Andrew R. Kinnie" <email@hidden>)

  • Prev by Date: Re-factoring Main component
  • Next by Date: Re: war deployment
  • Previous by thread: Re-factoring Main component
  • Next by thread: IllegalArgumentException in D2W queryAll page?
  • Index(es):
    • Date
    • Thread