the error--java.lang.NoClassDefFoundError because of lack of class added in classpath