Starters

What is a Starter?

A starter is a dependency that only contains other dependencies: a curated bundle for one feature. Add one line, get a tested set of libraries that work together.

StarterBrings inUse for
spring-boot-starter-webSpring MVC, embedded Tomcat, Jackson, validation-readyREST APIs
spring-boot-starter-data-jpaHibernate, Spring Data JPA, HikariCPSQL databases
spring-boot-starter-validationHibernate Validator (jakarta.validation)request validation
spring-boot-starter-securitySpring Securitylogin, roles, JWT
spring-boot-starter-actuatorMicrometer, health endpointsmonitoring
spring-boot-starter-testJUnit 5, Mockito, AssertJ, Spring Testtesting
spring-boot-starter-webfluxReactor, Nettyreactive APIs

Naming Rule

Official starters are named spring-boot-starter-*. Third-party starters put their own name first, e.g. mybatis-spring-boot-starter, springdoc-openapi-starter-webmvc-ui.

Tip: Do not add Tomcat, Jackson or Spring MVC separately when you already have spring-boot-starter-web. The starter already includes them in compatible versions.