title: Showing error Main class not found
body: <p>I am new to Java. I want to run a project in Netbeans. </p>
  
  <p>I downloaded a project and opened with netbeans. When running it, netbeans says 
  <code>project does not have a main class set</code> and it is showing warning as 
  <code>package javax.servlet.*</code> does not exists.</p>
  
  <p>Why is it showing these errors? and how to run the project correctly in netbeans?</p>
  
  <p>Kindly clarify my doubts.</p>