>classdefnotfound
you mean NoClassDefFoundError, the mother of all errors, ruiner of
families, destroyer of worlds, the many headed error message with
numberless possible causes.
I vowed to enumerate the first 37 causes.
see
http://mindprod.com/jgloss/runerrormessages.html#NOCLASSDEFFOUNDERROR
(rigth next to the picture of The Scream)
If it turns out the cause is not listed, make a noise and I'll see if
I can find #38 to add to the list.

Signature
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
EJP - 30 Dec 2007 06:02 GMT
> If it turns out the cause is not listed, make a noise and I'll see if
> I can find #38 to add to the list.
The most common cause of this exception is that the location in the file
system or JAR file doesn't correspond with the package name in the
.class file. IOW a .class file was found via the CLASSPATH but it didn't
contain the expected class. This can also happen if you just rename the
.class file.
> Error: 'java.lang.classdefnotfound"
Give us some code to work with.