title: ClassNotFoundException when running JUnit unit tests within Eclipse (using Maven)
body: <p>I have just upgraded my SpringSource Tools Suite (STS, a variant IDE of Eclipse) to the latest version (v3.6.1). Then all my JUnit unit tests can not be run again. I am getting this error:</p>
  
  <pre><code>Class not found ClassToTest
  java.lang.ClassNotFoundException: ClassToTest
      at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
  </code></pre>
  
  <p>According to this blog:
  <a href="http://blog.andrewbeacock.com/2008/11/classnotfoundexception-when-running.html" rel="noreferrer">ClassNotFoundException when running JUnit unit tests within Eclipse (using Maven)</a>,
  it is because of some misconfiguration of Maven plugin in Eclipse. However, in STS 3.6.2 I cannot find this option "Include Modules" in the Maven plugin. How can I fix this problem and re-enable my unit tests?</p>