java.lang.RuntimeException: java.lang.ClassNotFoundException:

I have following driver code which produces ClassNotFoundException on all task trackers. All the code tries to do is create number of map tasks specified by the user and allocate map tasks in round robin fashion.