title: eclipse error: could not find or load main class for project
body: <p>My java project has a class with a main method.  I an project clean and build via eclipse after which I am getting the following error:  Any ideas on how to troubleshoot this further (I know there are others who mentioned the same case) - I want to figure out how to troubleshoot this further (not look at individual cases for everyone).</p>
  
  <pre><code>Error: Could not find or load main class
  </code></pre>
  
  <p>I am using JDK1.7 &amp; Eclipse (Kepler release) </p>
  
  <p>Edit:
  Found the error: it was due to a type (and its quite disappointing that eclipse did not generate an error message stating what it was trying to load - my fault obviously since I did not check what was being loaded</p>