title: @SpringBootApplication cannot be resolved to a type. I have tried everything but only this error remains
body: <pre><code>package org.example;
  
  import org.springframework.boot.SpringApplication;
  import org.springframework.boot.autoconfigure.*;
  
  /**
   * Spring boot main Application
   *
   */
  @SpringBootApplication
  public class Application 
  {
      public static void main( String[] args ) throws Exception
      {
          SpringApplication.run(Application.class, args);
      }
  }
  </code></pre>