AnsweredAssumed Answered

Exception in thread "main" java.lang.NoClassDefFoundError: org/springframework/context/support/ClassPathXmlApplicationContext

Question asked by vinay0707 on Apr 24, 2015
Latest reply on Apr 27, 2015 by snayeem
I am trying to run hadoop word count program using spring framework. I do not have maven on linux. so, I copied all the required jar to a folder "lib" under my home dir.

I am trying to run as-
$ hadoop jar WordCount.jar wordCountJob -libjars /usr/vjain/lib

But, I am getting error as "Exception in thread "main" java.lang.NoClassDefFoundError: org/springframework/context/support/ClassPathXmlApplicationContext"

Please help with your inputs.