Running Java Applications on Mac OS X
Subject:   "failed to invoke" error message
Date:   2001-07-19 17:42:10
From:   fikiri
Response to: "failed to invoke" error message

I also got the same message when following the instructions

Failed to invoke suite():java.lang.NoClassDefFoundError: junit/tests/ExceptionTestCaseTest$ThrowRuntimeExceptionTestCase

My best guess is this is a classpath problem but I also would like help is someone can be more specific. Could it be related to the fact I have junit on a separate volume from my home directory?


Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Daniel H. Steinberg photo "failed to invoke" error message
    2001-07-21 11:42:05  Daniel H. Steinberg | O'Reilly AuthorO'Reilly Blogger [View]

    The problem comes from the last line before the return in the JUnit included sample code. Comment it out, recompile, live happily ever after.

    More specifically, I am talking about the file "". Comment out the line,