title: Spring Boot application stuck at: Initializing Spring DispatcherServlet 'dispatcherServlet'
body: <p>I am upgrading a Spring Boot application from version 1.5.6 to 2.1.1. When I start the application, it gets stuck at this line:</p>
  
  <pre><code>INFO: Initializing Spring DispatcherServlet 'dispatcherServlet'
  </code></pre>
  
  <p>When I hit this URL: <a href="http://localhost:8888/actuator/health" rel="noreferrer">http://localhost:8888/actuator/health</a>, I get <code>{"status":"UP"}</code></p>
  
  <p>Also when I hit this URL: <a href="http://localhost:8888/swagger-ui.html" rel="noreferrer">http://localhost:8888/swagger-ui.html</a>, I see the Swagger UI.</p>
  
  <p>But my main application doesn’t start. Any idea why it’s stuck?</p>