title: Spring Boot Program cannot find main class
body: <p>I have a program which runs as a Spring boot App in eclipse. The program was running fine. Then i did the following:</p>
  
  <p>Right click on project ->  Run As -> Maven Test .</p>
  
  <p>This was accidental. When i then tried to run the program as a spring boot app again, it threw the following error below.   </p>
  
  <p><code>Error: Could not find or load main class com.bt.collab.alu.api.webapp.Application</code></p>
  
  <p>How do i point the application back to my main class? 
  Thanks</p>