Class 'Main' exists but is not a subclass of WOComponent
Class 'Main' exists but is not a subclass of WOComponent
- Subject: Class 'Main' exists but is not a subclass of WOComponent
- From: Manfred Loretz <email@hidden>
- Date: Wed, 10 Mar 2004 19:17:06 +0100
Hello,
I am relatively new in WO but have some experience in WO and need some
help.
My problem is, that I can create a new WebObjects Application as a
project in Xcode and I will just compile und run this simple app. After
my browser is launching and tries to connect, WebObjects brings an Error
saying:
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.
When I look in my Main.java, it stands "public class Main extends
WOComponent" and can see that class Main is a subclass of WOComponent.
So where is the problem? These are not my first steps with WO and have
tried to solve the problem without success.
My environment is:
- Mac OS X 10.3.2 with Xcode
- Java 1.4.2
- WO 5.2.2
Please, can someone help me?
Thanks.
Best regards
Manfred Loretz
_______________________________________________
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.