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

From: Tore Halset (halse..vv.ntnu.no)
Date: Tue Aug 26 2003 - 12:16:26 EDT

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

    Yes, all the jar-files are in the classpath.

      - Tore.

    On tirsdag, aug 26, 2003, at 11:00 Europe/Oslo, Ulrich Köster wrote:

    > 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>(PageLayoutComp
    >> onent.java:27)
    >> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
    >> Method)
    >> at
    >> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructo
    >> rAccessorImpl.java:39)
    >> at
    >> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCo
    >> nstructorAccessorImpl.java:27)
    >> at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    >> at
    >> com.webobjects.foundation._NSUtilities.instantiateObject(_NSUtilities.
    >> java: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 - 12:06:51 EDT