Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/spring-projects/spring-boot/llms.txt

Use this file to discover all available pages before exploring further.

Spring Boot takes an opinionated approach to the Spring ecosystem, giving you a fast path from idea to running application. It handles the boilerplate—embedded servers, auto-configuration, sensible defaults—so you can focus on writing business logic instead of plumbing.

Quickstart

Build and run your first Spring Boot application in under 5 minutes

Installation

Set up Spring Boot with Maven, Gradle, or Spring Initializr

Core Concepts

Understand auto-configuration, profiles, and externalized configuration

How-To Guides

Practical answers to the most common Spring Boot questions

What Spring Boot gives you

Spring Boot is built on the full Spring Framework and adds a production-ready layer on top. Every Spring Boot application benefits from:
  • Auto-configuration — Sensible defaults based on your classpath. Add a JDBC driver and get a DataSource automatically.
  • Starters — Curated dependency bundles like spring-boot-starter-web that pull in everything you need.
  • Embedded servers — Tomcat, Jetty, or Reactor Netty bundled in your JAR. No application server required.
  • Actuator — Production-ready health checks, metrics, and management endpoints out of the box.
  • Native image — Compile to a GraalVM native binary for instant startup and reduced memory footprint.

Explore the documentation

Web applications

Build REST APIs and MVC apps with Spring MVC or WebFlux

Data access

Connect to SQL and NoSQL databases with JPA, JDBC, and more

Messaging

Integrate with Kafka, RabbitMQ, Pulsar, and JMS

Security

Secure your application with Spring Security and OAuth2

Actuator

Monitor and manage your application in production

Testing

Write fast, reliable tests with Spring Boot’s testing support

Get started in 3 steps

1

Generate a project

Visit start.spring.io and select your dependencies. Download the generated ZIP and unpack it.
2

Write your application

Application.java
@SpringBootApplication
public class Application {
    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
3

Run it

./mvnw spring-boot:run
Your application starts on port 8080 with a full embedded server, ready to handle requests.
New to Spring Boot? Follow the Quickstart guide for a complete walkthrough from project creation to a running REST API.

Build docs developers (and LLMs) love