title: eclipse doesn't compile the project
body: <p>I had running project opened in eclipse. After an accidental restart of windows, now when I open the eclipse I see my project is marked with a little red cross. Now when I run the main method I get a <code>java.lang.NoClassDefFoundError</code>.</p>
  
  <p>I have tried restarting eclipse, Project -> Clean but it doesn't solve the problem.</p>
  
  <p>When I checked the project directory, inside 'target' folder there are no compiled .class files. I tried building the project but I can't get the compiled class files, which is the reason for the error.</p>
  
  <p>How do I solve this?</p>