title: Spring boot MVC not starting up
body: <p>I am using SpringBoot 2.5.0 for my web application.  When I start up tomcat,  nothing happens.  At all.  catalina.out says it deployed the war, but no other clue as to it actually starting up.
  I have this in my pom</p>
  <pre><code>&lt;parent&gt;
      &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
      &lt;artifactId&gt;spring-boot-starter-parent&lt;/artifactId&gt;
      &lt;version&gt;2.5.0&lt;/version&gt;
  &lt;/parent&gt;
  
  &lt;dependencies&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
      &lt;artifactId&gt;spring-boot-starter-web&lt;/artifactId&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.springframework&lt;/groupId&gt;
      &lt;artifactId&gt;spring-webmvc&lt;/artifactId&gt;
  &lt;/dependency&gt; 
  &lt;/dependencies&gt;
  </code></pre>
  <p>And this is my main Application.java</p>
  <pre><code>@SpringBootApplication
  @EnableWebMvc
  @ComponentScan(&quot;com.xxx&quot;)
  public class Application extends SpringBootServletInitializer implements ApplicationListener&lt;ApplicationReadyEvent&gt; {
  
  static final Logger logger = LoggerFactory.getLogger(Application.class);
  ServletContext servletContext;
  public static void main(String[] args) {
      SpringApplication.run(Application.class, args );
  }
  
  
  @Override
  public void onStartup(ServletContext servletContext) throws ServletException {
      System.out.println(&quot;Testing STDOUT&quot;);
      logger.debug(&quot;Testing logger&quot;);
      WebApplicationContext rootAppContext = createRootApplicationContext(servletContext);
      this.servletContext = servletContext;
      if (rootAppContext != null) {
          servletContext.addListener(new RequestContextListener());
      }
      else {
          logger.debug(&quot;No ContextLoaderListener registered, as &quot;
                  + &quot;createRootApplicationContext() did not &quot;
                  + &quot;return an application context&quot;);
      }   
  }
  
  @Override
  public void onApplicationEvent(ApplicationReadyEvent arg0) {
      System.out.println(&quot;onApplicationEvent Testing STDOUT&quot;);
  }
  </code></pre>
  <p>I would expect at the very least the System.out to print to the logs. But I have nothing.</p>
  <p>What am I doing wrong?</p>