NoClassDefFoundError when trying to run JUnit TestSuite
A coworker is trying to run a JUnit TestSuite and he's getting the
following error in the JUnit test runner console:
Failed to invoke suite():java.lang.NoClassDefFoundError
No other information is given, which makes it rather hard to determine
what the problem is.
Ciao,
Gordon
--
Gordon Tyler (Software Developer)
Quest Software <http://java.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: 416-643-4846 | Fax: 416-594-1919
Please sign in to leave a comment.
NoClassDefFoundError is often caused by an exception during a static
initializer, either a static{} block or a static variable initialized with
its declaration, "static Foo f = ...". It seems to me that before JDK 1.4,
you got a more meaningful message for those but maybe that's just my memory
going. :)
Of course it's also possible that you're missing a library or something but
I assume you checked that...
Scott
"Gordon Tyler" <gordon.tyler@quest.com> wrote in message
news:c8lluh$m4g$1@is.intellij.net...
>
>
>
>