Re: Build error java.lang.NoClassDefFoundError:

2015-12-29 Thread Chuck Hill
9, 2015 at 3:19 AM To: WebObjects-Dev Mailing List List mailto:webobjects-dev@lists.apple.com>> Subject: Build error java.lang.NoClassDefFoundError: Hi everyone, I am gettiong an error since i build wonder to too be able to deploy my app. Before build wonder i have just imported wonder fram

Re: java.lang.NoClassDefFoundError

2011-01-26 Thread Chuck Hill
On Jan 26, 2011, at 3:29 AM, David Avendasora wrote: > Chuck get's the prize on this one (shocking, I know), with a Q being a close > runner-up. > > I was being stupid in how I was initializing a static String variable. > > Apparently, I must re-read Chuck's second book, again. I wonder what t

Re: java.lang.NoClassDefFoundError

2011-01-26 Thread David Avendasora
Chuck get's the prize on this one (shocking, I know), with a Q being a close runner-up. I was being stupid in how I was initializing a static String variable. Apparently, I must re-read Chuck's second book, again. I wonder what the pairing is for debugging moronic code that you only have yourse

Re: java.lang.NoClassDefFoundError

2011-01-25 Thread David Avendasora
r and WebObjects frameworks >>> are. The framework only exists as source code in the Eclipse workspace, and >>> I have tried it with bundles enabled, and disabled and I get the exact same >>> results. >>> >>> Why would an app not be able to find c

Re: java.lang.NoClassDefFoundError

2011-01-25 Thread Q
ith bundles enabled, and disabled and I get the exact same >> results. >> >> Why would an app not be able to find classes at runtime, when it can find >> them in the source code? It's got to be something incredibly simple

Re: java.lang.NoClassDefFoundError

2011-01-25 Thread Q
Why would an app not be able to find classes at runtime, when it can find > them in the source code? It's got to be something incredibly simple that I'm > just overlooking. > > Dave > > > com.webobjects.foundation.NSForwardException [java.lang.NoClassDefFoundErro

Re: java.lang.NoClassDefFoundError

2011-01-25 Thread David Avendasora
h just as the Wonder and WebObjects frameworks >>>> are. The framework only exists as source code in the Eclipse workspace, >>>> and I have tried it with bundles enabled, and disabled and I get the exact >>>> same results. >>>> >>>

Re: java.lang.NoClassDefFoundError

2011-01-24 Thread Farrukh Ijaz
gt;>> I have tried it with bundles enabled, and disabled and I get the exact same >>> results. >>> >>> Why would an app not be able to find classes at runtime, when it can find >>> them in the source code? It's got to be something incredibly sim

Re: java.lang.NoClassDefFoundError

2011-01-24 Thread David Avendasora
t; The framework only exists as source code in the Eclipse workspace, and I >> have tried it with bundles enabled, and disabled and I get the exact same >> results. >> >> Why would an app not be able to find classes at runtime, when it can find >> them in the source code? I

Re: java.lang.NoClassDefFoundError

2011-01-24 Thread Farrukh Ijaz
ibly simple that I'm just overlooking.Davecom.webobjects.foundation.NSForwardException [java.lang.NoClassDefFoundError] Could not initialize class com.mycompany.ac.model.GlobalLU:java.lang.NoClassDefFoundError: Could not initialize class com.mycompany.ac.model.GlobalLU at com.webobjects

java.lang.NoClassDefFoundError

2011-01-24 Thread David Avendasora
ses at runtime, when it can find them in the source code? It's got to be something incredibly simple that I'm just overlooking. Dave com.webobjects.foundation.NSForwardException [java.lang.NoClassDefFoundError] Could not initialize class com.mycompany.ac.model.GlobalLU:java.lang.N

Re: java.lang.NoClassDefFoundError: com.webobjects.foundation.NSTimeZone

2008-03-20 Thread Andrew Lindesay
;main" java.lang.NoClassDefFoundError: com.webobjects.foundation.NSTimeZone at java.lang.Class.initializeClass(libgcj.so.81) at com.webobjects.foundation.NSTimestamp.(NSTimestamp.java:1481) ___ Andrew Lindesay technology : www.lindesay.co.nz business : www.silve

java.lang.NoClassDefFoundError: com.webobjects.foundation.NSTimeZone

2008-03-19 Thread Ren, Kevin
read "main" java.lang.NoClassDefFoundError: com.webobjects.foundation.NSTimeZone at java.lang.Class.initializeClass(libgcj.so.81) at com.webobjects.foundation.NSTimestamp.(NSTimestamp.java:1481) at java.lang.Class.initializeClass(libgcj.so.81) at com.webobjects.foundation.NSL

Re: java.lang.NoClassDeffoundError: Application

2007-04-25 Thread Jeff Schmitz
Ended up having to create a new workspace, create a new WOnderApplicaiton and "manually" move everything over (really just a drag and drop of Components, source, eomodel and jars). Then read add frameworks and it worked. Jeff On Apr 25, 2007, at 9:36 PM, Mike Schrag wrote: Sorry, i mean

Re: java.lang.NoClassDeffoundError: Application

2007-04-25 Thread Jeff Schmitz
yeah, I thought about that, but then when I got the same behavior from a brand new project, I figured it must not be project specific. Jeff On Apr 25, 2007, at 9:36 PM, Mike Schrag wrote: Sorry, i mean the project metadata files, not the workspace metadata files. In your project are .class

Re: java.lang.NoClassDeffoundError: Application

2007-04-25 Thread Mike Schrag
Sorry, i mean the project metadata files, not the workspace metadata files. In your project are .classpath, .project, etc. Check those to make sure they are unchanged. On Apr 25, 2007, at 10:34 PM, Jeff Schmitz wrote: Well, something is hosed. I just created a brand new WonderApplicatio

Re: java.lang.NoClassDeffoundError: Application

2007-04-25 Thread Jeff Schmitz
Well, something is hosed. I just created a brand new WonderApplication project and tried to run it as is, and I get the same error. I looked in the workspace .metadata directory, but I don't see any editable files in there except version.ini. I looked at previous versions and they are li

Re: java.lang.NoClassDeffoundError: Application

2007-04-25 Thread Miguel Arroz
Hi! Try to manually delete all the "build" folders of your project, and then choose "Build / Clean" on Eclipse. Usually it solves the problem for me, when it happens. Yours Miguel Arroz On 2007/04/25, at 04:31, Jeff Schmitz wrote: All of the sudden, I can't run my app from Eclipse.

Re: java.lang.NoClassDeffoundError: Application

2007-04-25 Thread Mike Schrag
Not sure if this is your problem or not, but if you open an Eclipse 3.2 workspace with Eclipse 3.3, it can mangle workspace metadata. I don't think it would cause this NoClassDefFoundError, but you never know. Another symptom is that cmd-shift-t view doesn't work anymore. All wolips/eclip

Re: java.lang.NoClassDeffoundError: Application

2007-04-25 Thread Jeff Schmitz
That doesn't work either. I deleted all the launchers and created a new one (under WOApplication). No parameters, main class Application. I get the same error. My Application extends ERXApplication if that gives any clues. Thanks, Jeff On Apr 25, 2007, at 12:21 AM, Chuck Hill wrote: W

Re: java.lang.NoClassDeffoundError: Application

2007-04-24 Thread Chuck Hill
While Gavin is correct for command line / JavaMonitor launches, Eclipse does not use this file. I'd try deleting the launcher config you are using and creating a new one. Chuck On Apr 24, 2007, at 9:40 PM, Gavin Eadie wrote: At 10:59 PM -0500 4/24/07, Jeff Schmitz wrote: No, it's just in

Re: java.lang.NoClassDeffoundError: Application

2007-04-24 Thread Gavin Eadie
At 10:59 PM -0500 4/24/07, Jeff Schmitz wrote: No, it's just in the default package/folder, and there's no package statement in the file. That's how it's always been and it always worked fine before. ... next to check would be the 'classpath.txt' file at: *.woa/Contents/MacOS/MacOSClas

Re: java.lang.NoClassDeffoundError: Application

2007-04-24 Thread Jeff Schmitz
No, it's just in the default package/folder, and there's no package statement in the file. That's how it's always been and it always worked fine before. Thanks, Jeff On Apr 24, 2007, at 10:49 PM, Gavin Eadie wrote: At 10:31 PM -0500 4/24/07, Jeff Schmitz wrote: I just get NoClassDefFound

Re: java.lang.NoClassDeffoundError: Application

2007-04-24 Thread Gavin Eadie
At 10:31 PM -0500 4/24/07, Jeff Schmitz wrote: I just get NoClassDefFoundError: Application in thread "main". ... could it be that your Application class is in a package, and the class is actually "com.something.fizzy.Application" ? ___ Do not post

java.lang.NoClassDeffoundError: Application

2007-04-24 Thread Jeff Schmitz
All of the sudden, I can't run my app from Eclipse. I just get NoClassDefFoundError: Application in thread "main". Only thing I can think is I opened my workspace using a different version of eclipse that I have installed on my machine. I closed it, and then opened it with my normal Ecli