title: TestNG ERROR Cannot find class in classpath
body: <p>I'm trying to run testng via command line and I have following things in classpath:</p>
  
  <ul>
  <li><code>testng</code> jar, jar of compiled test case file, and other required jars.</li>
  <li><code>testng.xml</code> points to appropriate class in the hierarchy. </li>
  </ul>
  
  <p>Testng doesn't run instead it throws:</p>
  
  <pre><code>[TestNG] [ERROR]  Cannot find class in classpath: (name of testcase file)
  </code></pre>
  
  <p>I encountered the same issue before and I just added.</p>
  
  <p>In <code>classpath</code> and it solved the problem. But this time it did not seem to solve it. Any workarounds? Thanks in advance.</p>