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
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
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
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
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
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
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.
>>>>
>>>
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
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
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
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
;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
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
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
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
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
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
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.
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
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
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
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
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
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
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
25 matches
Mail list logo