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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to