Exception in thread "main" java.lang.ClassNotFoundException: WordCount Exception in thread "main" java.lang.ClassNotFoundException: WordCount hadoop hadoop

Exception in thread "main" java.lang.ClassNotFoundException: WordCount


your classname is geekyomega.WordCount

you are not appending the package name . in the command line , just after jar file name, give the fully qualified name of your job class.


Along with adding the package add the following line as well in the job config part of your program :

job.setJarByClass(WordCount.class);