In general NoClassDefFoundError
means the class was probably found but could not initialize. So something in the code for that class throws an error when it is instantiated (it could mean a different class entirely is missing).
Check the code for your class. Specifically look for static blocks or members which use a class that's not found by the ClassLoader.