NoClassDefFoundError

From: stefa..iplab.net
Date: Wed Nov 12 2003 - 10:07:31 EST

  • Next message: Kaj Hejer: "Re: NoClassDefFoundError"

    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.

    Best regards,
    Stefan Sjöquist

    The Support Console has the following information:
    start
    !WOLips.support.WOLipsUtils!
    !WOLips.support.WOLipsUtils.woTemplateDirectory! = templates
    !WOLips.support.WOLipsUtils.woTemplateFiles! = /wo_file_templates.xml
    !WOLips.support.WOLipsUtils.woTemplateProject! = /wo_project_templates.xml
    WOVariables
    developer dir = C:/Apple\Developer
    developer apps dir = C:/Apple\Developer\Applications
    library dir = C:/Apple\Library
    local developer dir = C:/Apple/Local\Developer
    local library dir = C:/Apple/Local\Library
    webserver resources dir name = WebServerResources
    wo project file name = PB.project
    environment
    local root = C:/Apple/Local
    next root = C:/Apple
    Preferences
    Build after JavaBuilder = true
    Show Build Output = false
    Models Filter =
    src,src*,*src,*.java,bin,.DS_Store,.classpath,.project,*.postamble,*.preambl
    e,makefile,build.xml,*.framework,*.woa,Properties,build.properties,WOAfile.i
    cns,*.pbxuser,PB.project,*.wod,*.woo,*.html,*.api,*.wo
    Components Filter =
    src,src*,*src,*.java,bin,.DS_Store,.classpath,.project,*.postamble,*.preambl
    e,makefile,build.xml,*.framework,*.woa,Properties,build.properties,WOAfile.i
    cns,*.pbxuser,PB.project,*.plist,*.d2wmodel,*.eomodeld
    Products Filter =
    src,src*,*src,*.java,bin,.DS_Store,.classpath,.project,*.wod,*.woo,*.html,*.
    api,*.wo,*.plist,*.d2wmodel,*.eomodeld
    Run Ant as External Tool = false
    NSProjectSearchPath =
    end

    If I look into the Help->Configuration details I see the following error:
    !ENTRY org.eclipse.ui 4 4 Nov 12, 2003 16:00:26.420
    !MESSAGE Unhandled exception caught in event loop.
    !ENTRY org.eclipse.ui 4 0 Nov 12, 2003 16:00:26.440
    !MESSAGE java.lang.NullPointerException
    !STACK 0
    java.lang.NullPointerException
     at
    org.eclipse.debug.internal.ui.views.console.ConsoleViewer.paintControl(Conso
    leViewer.java:350)
     at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:80)
     at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77)
     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:836)
     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:861)
     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:845)
     at org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:726)
     at org.eclipse.swt.widgets.Control.windowProc(Control.java:2811)
     at org.eclipse.swt.widgets.Display.windowProc(Display.java:2283)
     at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
     at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1299)
     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1483)
     at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1400)
     at org.eclipse.ui.internal.Workbench.run(Workbench.java:1383)
     at
    org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.jav
    a:845)
     at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
     at java.lang.reflect.Method.invoke(Native Method)
     at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
     at org.eclipse.core.launcher.Main.run(Main.java:703)
     at org.eclipse.core.launcher.Main.main(Main.java:539)
    !ENTRY org.eclipse.ui 4 4 Nov 12, 2003 16:00:26.450
    !MESSAGE Unhandled exception caught in event loop.
    !ENTRY org.eclipse.ui 4 0 Nov 12, 2003 16:00:26.450
    !MESSAGE java.lang.NullPointerException
    !STACK 0
    java.lang.NullPointerException
     at
    org.eclipse.debug.internal.ui.views.console.ConsoleViewer.paintControl(Conso
    leViewer.java:350)
     at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:80)
     at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77)
     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:836)
     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:861)
     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:845)
     at org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:726)
     at org.eclipse.swt.widgets.Control.windowProc(Control.java:2811)
     at org.eclipse.swt.widgets.Display.windowProc(Display.java:2283)
     at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
     at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1299)
     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1483)
     at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1400)
     at org.eclipse.ui.internal.Workbench.run(Workbench.java:1383)
     at
    org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.jav
    a:845)
     at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
     at java.lang.reflect.Method.invoke(Native Method)
     at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
     at org.eclipse.core.launcher.Main.run(Main.java:703)
     at org.eclipse.core.launcher.Main.main(Main.java:539)



    This archive was generated by hypermail 2.0.0 : Wed Nov 12 2003 - 10:07:16 EST