Re: Help: D2WModel trying to load

From: Mike Schrag (mschra..dimension.com)
Date: Tue Mar 06 2007 - 19:20:12 EST

  • Next message: Anjo Krank: "Re: Help: D2WModel trying to load"

    If you're using a version of Wonder that is more than a few days old,
    WOOgnl had a dependency on ERD2W which brought in D2W. I just
    recently removed that dependency ..... That's all I've got at the
    moment, though.

    ms

    On Mar 6, 2007, at 6:51 PM, Lachlan Deck wrote:

    > Hi there,
    >
    > On 07/03/2007, at 10:42 AM, Anjo Krank wrote:
    >
    >>
    >>>> 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.
    >
    > I know that it's trying to load the D2W frameworks - but I cannot
    > understand why... as I've not created a D2W application!
    >
    > I don't want a D2W app. But I don't know where to look to find out
    > why this is happening.
    >
    > Any ideas?
    >
    >> 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
    >>>
    >>>
    >>>
    >>
    >
    > with regards,
    > --
    >
    > Lachlan Deck
    >
    >
    >



    This archive was generated by hypermail 2.0.0 : Tue Mar 06 2007 - 19:21:08 EST