title: Running JUnit Tests from Eclipse gives ClassNotFound Error
body: <p>I am trying to run <code>JUnit</code> tests from Eclipse but while running these tests, I am getting <code>ClassNotFound</code> Exception</p>
  
  <p>Complete Stack Trace follows:</p>
  
  <blockquote>
    <p>java.lang.NoClassDefFoundError: of
    Caused by: java.lang.ClassNotFoundException: of
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    Exception in thread "main" </p>
  </blockquote>
  
  <p>I have searched google for this and have found that couple of guys have faced this issue but none of them seems to be solving my issue. This can probably be due to difference in platforms</p>
  
  <p>My development platform is as follows</p>
  
  <pre><code>OS: Windows XP
  Eclipse JUNO
  JUnit4
  Maven2
  </code></pre>
  
  <p>Mean while, If I run this project using maven it runs absolutely fine. </p>
  
  <p>The most strange part for me is the name of the class for which <code>ClassNotFound</code> Exception is thrown. Name of the class is <code>of</code>.</p>
  
  <p>This is what blows me completely. </p>
  
  <p>Also, what ever stack trace I have listed above, that is all what I get when I get the error nothing else.</p>
  
  <p>I have been stuck in this issue for 2 days now, any help would be greatly appreciated.</p>