If you ever get a java.lang.NoClassDefFoundError at runtime, and you are certain the class identified is in your classpath, take a look at the inheritence hierarchy. The java.lang.ClassLoader will identify the child, even if it is a parent who is missing. At least that is what happened to me.