Re: Help: D2WModel trying to load

From: Anjo Krank (kran..ogicunited.com)
Date: Tue Mar 06 2007 - 18:42:37 EST

  • Next message: Zak Burke: "Re: weird compile error"

    >> java.lang.NoClassDefFoundError: com/webobjects/directtoweb/D2WModel

    Means that the D2WModel class can't be found, most likely because the
    D2W frameworks aren't loaded. You need to check your class path.

    Cheers, Anjo

    Am 07.03.2007 um 00:34 schrieb Lachlan Deck:

    > Anyone able to help? Mike? I'm at a loss on this one...
    >
    > Thanks.
    >
    > Any chance the model index file is wrong or something? I'm
    > deploying to a WO5.2.4 environment if that helps.
    >
    > On 06/03/2007, at 12:46 PM, Lachlan Deck wrote:
    >
    >> Hi there,
    >>
    >> I've got an app that I've brought over from Xcode to Eclipse/
    >> WOLips (no wonder includes). It all compiles fine but when I
    >> attempt to deploy it I get the following exception.
    >>
    >> I'm quite certain I didn't create a D2W project in eclipse and
    >> cannot see any reason why it's attempting to load a D2WModel.
    >>
    >> Any ideas? Is there some property that would cause this?
    >>
    >> [2007-03-06 12:27:54 EST] <main> A fatal exception occurred: com/
    >> webobjects/directtoweb/D2WModel
    >> [2007-03-06 12:27:54 EST] <main> java.lang.NoClassDefFoundError:
    >> com/webobjects/directtoweb/D2WModel
    >> at java.lang.Class.forName0(Native Method)
    >> at java.lang.Class.forName(Class.java:141)
    >> at
    >> com.webobjects.foundation._NSUtilities._classWithPartialName
    >> (_NSUtilities.java:307)
    >> at com.webobjects.foundation._NSUtilities.classWithName
    >> (_NSUtilities.java:291)
    >> at com.webobjects.foundation.NSBundle.initPrincipalClass
    >> (NSBundle.java:2554)
    >> at com.webobjects.foundation.NSBundle.InitPrincipalClasses
    >> (NSBundle.java:710)
    >> at com.webobjects.foundation.NSBundle.<clinit>
    >> (NSBundle.java:368)
    >> at
    >> com.webobjects.appserver._private.WOProperties.initUserDefaultsKeys
    >> (WOProperties.java:179)
    >> at com.webobjects.appserver.WOApplication._initWOApp
    >> (WOApplication.java:5049)
    >> at com.webobjects.appserver.WOApplication.<init>
    >> (WOApplication.java:551)
    >> at com.ish.webobjects.appserver.ISHApplication.<init>
    >> (ISHApplication.java:110) // super
    >> at
    >> com.ish.willow.webobjects.appserver.ISHWillowApplication.<init>
    >> (ISHWillowApplication.java:25)
    >> at com.ish.willow.soap.appserver.Application.<init>
    >> (Application.java:56) // super
    >> at sun.reflect.NativeConstructorAccessorImpl.newInstance0
    >> (Native Method)
    >> at sun.reflect.NativeConstructorAccessorImpl.newInstance
    >> (NativeConstructorAccessorImpl.java:39)
    >> at
    >> sun.reflect.DelegatingConstructorAccessorImpl.newInstance
    >> (DelegatingConstructorAccessorImpl.java:27)
    >> at java.lang.reflect.Constructor.newInstance
    >> (Constructor.java:274)
    >> at java.lang.Class.newInstance0(Class.java:308)
    >> at java.lang.Class.newInstance(Class.java:261)
    >> at com.webobjects.appserver.WOApplication.main
    >> (WOApplication.java:323)
    >> at com.ish.willow.soap.appserver.Application.main
    >> (Application.java:52)
    >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    >> Method)
    >> at sun.reflect.NativeMethodAccessorImpl.invoke
    >> (NativeMethodAccessorImpl.java:39)
    >> at sun.reflect.DelegatingMethodAccessorImpl.invoke
    >> (DelegatingMethodAccessorImpl.java:25)
    >> at java.lang.reflect.Method.invoke(Method.java:324)
    >> at com.webobjects._bootstrap.WOBootstrap.main
    >> (WOBootstrap.java:71)
    >>
    >> with regards,
    >> --
    >>
    >> Lachlan Deck
    >>
    >>
    >>
    >
    > with regards,
    > --
    >
    > Lachlan Deck
    >
    >
    >



    This archive was generated by hypermail 2.0.0 : Tue Mar 06 2007 - 18:42:45 EST