Classnotfound exception while running hadoop

Posted by vana on Stack Overflow See other posts from Stack Overflow or by vana
Published on 2010-05-07T02:51:31Z Indexed on 2010/05/07 2:58 UTC
Read the original article Hit count: 355

Filed under:
|

Hi,

I am new to hadoop.

I have a file Wordcount.java which refers hadoop.jar and stanford-parser.jar

I am running the following commnad

javac -classpath .:hadoop-0.20.1-core.jar:stanford-parser.jar -d ep WordCount.java 

jar cvf ep.jar -C ep .

bin/hadoop jar ep.jar WordCount gutenburg gutenburg1

After executing i am getting the following error:

lang.ClassNotFoundException: edu.stanford.nlp.parser.lexparser.LexicalizedParser

The class is in stanford-parser.jar ...

What can be the possible problem?

Thanks

© Stack Overflow or respective owner

Related posts about java

Related posts about hadoop