title: Selection does not contain a main type Java Eclipse
body: <p>Code:</p>
  
  <pre><code> public class TestScenario {
  
      public static void main(String args[]){
          int episode=0;
          String fileName="test.csv";
          String predicateFile="test.txt";
          Scenario newScenario=new Scenario();
          newScenario.setPredicatefile(predicateFile);
          //newScenario.initializeScenario(1,fileName,"John Hinkle Place",5);
          //newScenario.startScenario("Accelarate","doNothing");
      }
  
  }
  </code></pre>
  
  <p>error:</p>
  
  <pre><code>Selection does not contain a main type.
  </code></pre>
  
  <p>Error screenshot:
     <a href="https://i.stack.imgur.com/Eo084.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Eo084.png" alt="enter image description here"></a></p>
  
  <p>But I clearly have a main class declared. Any suggestions on the mistake is helpful.</p>