eclipse 3.0 I20030820 and wolips 1.0.6: can not find Main

From: Tore Halset (halse..vv.ntnu.no)
Date: Sun Aug 24 2003 - 11:53:13 EDT

  • Next message: Christian Mittendorf: "Re: eclipse 3.0 and wolips 1.0.6: Exception when trying to view Help"

    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>(PageLayoutCompon
    ent.java:27)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
    Method)
            at
    sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA
    ccessorImpl.java:39)
            at
    sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons
    tructorAccessorImpl.java:27)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
            at
    com.webobjects.foundation._NSUtilities.instantiateObject(_NSUtilities.ja
    va: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 : Sun Aug 24 2003 - 11:44:00 EDT