content: package spring.jsp;
  
  import org.springframework.boot.SpringApplication;
  import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
  import org.springframework.boot.autoconfigure.SpringBootApplication;
  import org.springframework.boot.builder.SpringApplicationBuilder;
  import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
  import org.springframework.context.annotation.ComponentScan;
  import org.springframework.context.annotation.Configuration;
  import org.springframework.context.annotation.Import;
  import org.springframework.web.servlet.config.annotation.EnableWebMvc;
  
  @SpringBootApplication
  @Configuration
  @Import({BeanConfigu.class, WebConfig.class})
  
  public class JspApplication extends SpringBootServletInitializer {
  
      private static Class applicationClass = JspApplication.class;
  
      public static void main(String[] args) {
          SpringApplication.run(JspApplication.class, args);
      }
  
      @Override
      protected SpringApplicationBuilder configure(SpringApplicationBuilder applicationBuilder) {
          return applicationBuilder.sources(applicationClass);
      }
  }
  