Re: Why would D2WModel be trying to load at deployment?
Re: Why would D2WModel be trying to load at deployment?
- Subject: Re: Why would D2WModel be trying to load at deployment?
- From: Chuck Hill <email@hidden>
- Date: Tue, 6 Mar 2007 15:57:31 -0800
On Mar 6, 2007, at 3:53 PM, Lachlan Deck wrote:
Hi there,
On 07/03/2007, at 10:45 AM, Chuck Hill wrote:
Looks to me like you have a D2W resource (whether you
intentionally created it or want it or not!) in a bundle but no
D2W classes on your classpath. Check your projects. Probably
something got created inadvertently.
Any ideas on what kind of resources to look for?
Well, any files with d2w in the name would make me suspicious. :-P
Could it be a corrupt model index or some NSProperty that's doing
this?
Doubt it. Look under the Resources/ folder of all your build projects.
Chuck
On Mar 6, 2007, at 3:34 PM, Lachlan Deck wrote:
Anyone? I'm at a loss...
Sorry to those also on the woproject-dev list - but I've had no
response on either list.
On 06/03/2007, at 3:55 PM, Lachlan Deck wrote:
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.
Running the Xcode project works fine, but the WOLips one has the
following exception. Any clues on what property or otherwise
would trigger this to occur?
[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
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve
specific problems.
http://www.global-village.net/products/practical_webobjects
with regards,
--
Lachlan Deck
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden