What is spring-boot-starter-web? Its dependencies, how to add it with Maven/Gradle, and the rename to spring-boot-starter-webmvc
spring-boot-starter-web is the starter for building web applications and REST APIs with Spring MVC and embedded Tomcat. This guide expands its actual contents with mvn dependency:tree (spring-webmvc, Tomcat, Jackson; Bean Validation is not included), shows the minimal pom.xml / build.gradle setup, how to swap Tomcat for Jetty, how it differs from webflux, and covers the rename to spring-boot-starter-webmvc in Spring Boot 4 along with how to handle early migration issues.