title: Classnotfound exception while running hadoop
body: <p>I am new to hadoop. </p>
  
  <p>I have a file Wordcount.java which refers hadoop.jar and stanford-parser.jar</p>
  
  <p>I am running the following commnad</p>
  
  <pre><code>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
  </code></pre>
  
  <p>After executing i am getting the following error:</p>
  
  <pre><code>lang.ClassNotFoundException: edu.stanford.nlp.parser.lexparser.LexicalizedParser
  </code></pre>
  
  <p>The class is in stanford-parser.jar ...</p>
  
  <p>What can be the possible problem?</p>
  
  <p>Thanks</p>