Re: NoClassDefFoundError

From: Kaj Hejer (kaj.heje..sit.uio.no)
Date: Wed Nov 12 2003 - 10:13:44 EST

  • Next message: Anders Peterson: "Re: WO5.2.2: I don't see attributes from the javafile in WOBuilder"

    At 16:07 +0100 12-11-03, <stefa..iplab.net> wrote:
    >Hello
    >
    >Hope somebody can help me. I've been trying to get this to work for a couple
    >of days now with no result...
    >
    >I've been using Eclipse 2.1.0/WOLips 1.0.0 for about a year and things have
    >worked perfectly until I tried installing the same software on another
    >development machine. I get the following error when I try to run the
    >application from within Eclipse.
    >
    >java.lang.NoClassDefFoundError
    >at
    >com.webobjects.foundation.NSLog$PrintStreamLogger.<clinit>(NSLog.java:1606)
    >at com.webobjects.foundation.NSLog.<clinit>(NSLog.java:455)
    >at com.webobjects.foundation._NSUtilities.<clinit>(_NSUtilities.java:154)
    >at com.webobjects.appserver.WOApplication.<clinit>(WOApplication.java:165)
    >Exception in thread "main"
    >
    >I have tried to upgrade to Eclipse 2.1.1/WOLips 1.0.7.29 with the same
    >results, even when I create new applications using the WOLips Application
    >Wizard.
    >
    >I have tried running the cmd-file inside the woa-directory directly with the
    >same result, and I can't for my life figure out what class it can't find.
    >
    >I have attached some more debugging information below.

    It looks like you are using java 1.3.1 to run a WO5.2.2 app and that
    will not work. You have to use java 1.4.1.

    -Kaj :)



    This archive was generated by hypermail 2.0.0 : Wed Nov 12 2003 - 10:13:53 EST