Hi,
My app has recently started throwing NoClassDefFoundErrors. It started
after I made some fairly large code changes, but the errors are coming
from code that was unchanged...
I've removed all the class files and recompiled (hooray for Makefiles!),
with the same result. The only other things in my classpath are rt.jar
and the gnu regular expression package's jar. This should mean that
version skew isn't the cause.
I tried putting try{}catch(Throwable t){t.printStackTrace();} around the
constructors of the classes in question, so I know pretty exactly where
it's happening, but not why.
I just tried recompiling everything with javac (I was using jikes), no
change.
The freaky thing here is that these errors don't get thrown every time.
This error gets thrown in the init phase of the app's life (reading its
config files). Sometimes it dies, sometimes it lives, even given the
exact some config file.
By the way, the class file in question does exist and is in my classpath.
javap finds it just fine. The class contains no static block and no
static variables.
I can (try to) provide any other relevant info.
Am I going crazy?
Thanks for your help,
dstn.
----------------------------------------------------
-- Dustin Lang, [EMAIL PROTECTED] --
(java developer, linux guy, freak with rainbow hair)
User, n.: a particularly slow and unreliable input/
output device that is attached by default to the
standard input and output streams.
(stolen from a Gamelan article, author unknown)
----------------------------------------------------
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]