• 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
Class 'Main' exists but is not a subclass of WOComponent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Prev by Date: Re: NSArray Or WOPopup Error
  • Next by Date: NSArray Or WOPopup Error
  • Previous by thread: Attempt To Insert Nil Pops Up After Sometime.
  • Next by thread: Re: NSArray Or WOPopup Error [SOLVED]
  • Index(es):
    • Date
    • Thread