This is caused when there is a class file that your code depends on and it is present at compile time, but not found at runtime. Look for differences in your build time and runtime classpaths.
http://docs.oracle.com/javase/6/docs/api/java/lang/NoClassDefFoundError.html
> Thrown if the Java Virtual Machine or a ClassLoader instance tries to
> load in the definition of a class (as part of a normal method call or
> as part of creating a new instance using the new expression) and no
> definition of the class could be found.