Re: eclipse 3.0 I20030820 and wolips 1.0.6: can not find Main

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Tue Aug 26 2003 - 05:00:02 EDT

  • Next message: Tore Halset: "Re: eclipse 3.0 I20030820 and wolips 1.0.6: can not find Main"

    Hi Tore,

    jar from the application included in the launch configs classpath?

    Ulrich
    On Sonntag, 24. August 2003, at 17:53 Uhr, Tore Halset wrote:

    > Hello.
    >
    > With eclipse I20030820 and wolips 1.0.6 I got the following
    > errormessage:
    >
    > [2003-08-24 17:44:29 CEST] <main> Opening application's URL in browser:
    > http://10.0.0.3:9988/cgi-bin/WebObjects/bildearkiv.woa
    > [2003-08-24 17:44:30 CEST] <main> Waiting for requests...
    > [2003-08-24 17:44:31 CEST] <WorkerThread0>
    > <com.webobjects.appserver._private.WOComponentDefinition> WARNING:
    > Unable to find component class named "Main". If this is not intended
    > to be a classless component, check your framework settings and the
    > contents of your classpath file (in the .woa's
    > Contents/<PLATFORM_NAME> subdirectory).
    > [2003-08-24 17:44:32 CEST] <WorkerThread0>
    > <com.webobjects.appserver._private.WOComponentRequestHandler>:
    > Exception occurred while handling request:
    > com.webobjects.foundation.NSForwardException
    > [java.lang.ClassCastException] null
    > [2003-08-24 17:44:31 CEST] <WorkerThread0>
    > com.webobjects.foundation.NSForwardException for
    > java.lang.ClassCastException
    > at
    > no.thc.bildearkiv.components.PageLayoutComponent.<init>(PageLayoutCompo
    > nent.java:27)
    > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
    > Method)
    > at
    > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructor
    > AccessorImpl.java:39)
    > at
    > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCon
    > structorAccessorImpl.java:27)
    > at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    > at
    > com.webobjects.foundation._NSUtilities.instantiateObject(_NSUtilities.j
    > ava:529)
    > ...
    >
    > It can not find Main and Session.
    > PageLayoutComponent.java:27 is a (Session)session() in a component.
    >
    >
    > Working directory are set to the woa. I have all the classes in
    > packages and it worked ok with eclipse 3.0M2 and wolips 1.0.6.
    >
    > Regards,
    > - Tore.
    >



    This archive was generated by hypermail 2.0.0 : Tue Aug 26 2003 - 04:49:06 EDT