Sample answer: "The web starter puts Tomcat classes on the classpath. The servlet web server auto-configuration has a condition on Tomcat's classes, so it creates a Tomcat web server factory, and the context starts Tomcat during refresh. If I swap the dependency for Jetty, the Jetty condition matches instead." Editor's note: the class-level detail comes from the source code, not the docs.
Hard
java
spring