provided in the POM.xml?Dependencies with provided scope are needed to compile the project but are expected to be supplied by the runtime environment, so they are not packaged in the final artifact.
spring-boot-starter-web dependency in your Spring Boot POM.xml but try to create a REST controller?The spring-boot-starter-web includes embedded Tomcat and Spring MVC. Without it, the app lacks web server classes and fails to start.
Spring Boot manages versions for starters, so version tag is optional if using parent POM. GroupId must be exactly org.springframework.boot.
spring-boot-starter-web and spring-boot-starter-webflux. Your app fails to start with a bean creation error. What is the likely cause?spring-boot-starter-web uses Spring MVC, while spring-boot-starter-webflux uses reactive programming. Including both causes conflicts in web server beans.
spring-boot-starter-web and spring-boot-starter-data-jpa, approximately how many direct and transitive dependencies will Maven download?Each Spring Boot starter pulls many dependencies transitively. Together, these two starters typically bring around 60 dependencies.
