title: Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/base/Preconditions
body: <p>While running by java map reduce application in eclipse, and facing the below exception. I have included the commons-logging-1.2.jar file in my build path also, but still below is coming.</p>
  
  <p>I am new to hadoop. Kindly help me out.</p>
  
  <pre><code>Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/base/Preconditions
      at org.apache.hadoop.conf.Configuration$DeprecationDelta.&lt;init&gt;(Configuration.java:314)
      at org.apache.hadoop.conf.Configuration$DeprecationDelta.&lt;init&gt;(Configuration.java:327)
      at org.apache.hadoop.conf.Configuration.&lt;clinit&gt;(Configuration.java:409)
      at AverageNosClass.main(AverageNosClass.java:71)
  Caused by: java.lang.ClassNotFoundException: com.google.common.base.Preconditions
      at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
      ... 4 more
  </code></pre>