NoClassDefFoundError: org/apache/commons/lang/StringUtils
<p>I am writing map reduce program to compare two files.When I run the program it throws following exception.</p>

<pre><code>Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
at org.apache.hadoop.metrics2.lib.MutableMetricsFactory.getName(MutableMetricsFactory.java:119)
</code></pre>

<p>MY pom file.</p>

<pre><code> &lt;dependencies&gt;
&lt;dependency&gt;
&lt;groupId&gt;org.apache.hadoop&lt;/groupId&gt;
&lt;artifactId&gt;hadoop-core&lt;/artifactId&gt;
&lt;version&gt;0.20.2&lt;/version&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
&lt;groupId&gt;org.apache.hadoop&lt;/groupId&gt;
&lt;artifactId&gt;hadoop-mapreduce-client-core&lt;/artifactId&gt;
&lt;version&gt;0.23.1&lt;/version&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
    &lt;artifactId&gt;guava&lt;/artifactId&gt;
    &lt;groupId&gt;com.google.guava&lt;/groupId&gt;
    &lt;type&gt;jar&lt;/type&gt;
    &lt;version&gt;15.0&lt;/version&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
&lt;groupId&gt;commons-collections&lt;/groupId&gt;
&lt;artifactId&gt;commons-collections&lt;/artifactId&gt;
&lt;version&gt;3.2.1&lt;/version&gt;
&lt;/dependency&gt;
 &lt;dependency&gt;
 &lt;groupId&gt;org.apache.commons&lt;/groupId&gt;
 &lt;artifactId&gt;commons-lang3&lt;/artifactId&gt;
 &lt;version&gt;3.3&lt;/version&gt;
  &lt;/dependency&gt;
 &lt;dependency&gt;
  &lt;groupId&gt;commons-logging&lt;/groupId&gt;
 &lt;artifactId&gt;commons-logging&lt;/artifactId&gt;
 &lt;version&gt;1.1.1&lt;/version&gt;
 &lt;/dependency&gt;
&lt;/dependencies&gt;
</code></pre>

<p>Any help will be appreciated.</p>