Menu

NoClassDefFoundError when running a test

Help
styler
2006-10-09
2013-04-25
  • styler

    styler - 2006-10-09

    I'm using Jameleon to perform some API level testing.  The API that I'm testing is enclosed in a jar file that I placed in the .../lib directory. 

    My java file for the tag compiles using the build.bat file without error.  However, when I run a simple script that calls my custom tag, I get a NoClassDefFoundError.  I'm not familiar with ant/maven, but I assume that this is a classpath issue that can be resolved through ant.  I'm not sure where to start on the problem, though, and any help would be great.

     
    • Christian Hargraves

      1. Are you using the GUI to execute your script in?

      2. When you say the "../lib" directory, do you mean the test-suite/lib directory?

       

Log in to post a comment.