Menu

NoClassDefFoundError:com/vladium/emmma/...

viktorius
2004-10-01
2013-05-09
  • viktorius

    viktorius - 2004-10-01

    I got this exception only by using JUnit-tests. C:\testing\emma-2.0.4217\examples>java
    -cp .\junit.jar;outinstr;out AllTests
    EMMA: collecting runtime coverage data ...
    Exception in thread "main" java.lang.NoClassDefFoundError:com/vladium/emma/rt/RT
    What is wrong???

     
    • Vlad Roubtsov

      Vlad Roubtsov - 2004-10-01

      You are using EMMA's offline instrumentation mode.

      As mentioned in the documentation, in this mode your application classes become dependent on emma.jar. Either (a) add emma.jar to the runtime classpath or (b) copy emma.jar to the lib/ext subdirectory of your JRE.

       

Log in to post a comment.