IntelliJ IDEA Plugin for Spring Boot
Internal
Overview
The Spring Boot IntelliJ IDEA plugin uses Spring Initializr API to generate Spring Boot projects.
Installation
In IntelliJ 2021.2.1, the Spring Boot plugin is bundled and installed by default. Go to the plugin list and search for "Spring Boot".
Procedures
Create a New Spring Boot Project with Spring Initializr
This procedure is used by
Splash screen -> Create New Project -> Spring Initializr (note to not chose "Spring", but "Spring Initializr")
This procedure works even if the project was partially initialized before.
Name: The human-name for the project.
Location: Choose the root directory of the project. You can use a partially-initialized project, you'll get a warning (Directory is not empty).
Language: Java
Type: Gradle
Group: playground.smoke
Artifact: smoke
Package Name: Autogenerated based on group, including the artifact name, you may want to modify: playground.smoke
Project SDK
Java: 11
Packaging: Jar
Choose Initializr Service URL → Default https://start.spring.io → Next
Spring Boot version.
Dependencies.
Different dependencies are required for different types of projects. See:
For more details on dependencies, see Dependencies below.
Finish.
Generated build.gradle:
Generated settings.gradle:
Also see:
Dependencies
- Core
- DevTools
- Security - places Spring Security on the classpath, securing the application by default.
- Lombok
- Configuration Processor
- Session
- Cache
- Spring_Validation_Concepts#Overview
- Retry
- Aspects
- Web
- Web
- SpringWebFluxReactive Web
- Rest Repositories
- Rest Repositories HAL Browser
- HATEOAS
- Web Services
- Jersey (JAX-RS)
- Websocket
- REST Docs
- Vaadin
- Apache CXF (JAX-RS)
- Ratpack
- Mobile
- Keycloak
- Template Engines
- Thymeleaf
- Freemarker
- Mustache
- Groovy Templates
- SQL
- NoSQL
- Integration
- Cloud Core
- Cloud Bootstrap
- Cloud Function
- Cloud Security
- Cloud OAuth2
- Cloud Task
- Cloud Support
- Cloud Connectors
- Open Service Broker
- Cloud Config
- Config Client
- Config Server
- Vault Configuration
- Zookeeper Configuration
- Consul Configuration
- Cloud Discovery
- Eureka Discovery
- Eureka Server
- Zookeeper Discovery
- Cloud Foundry Discovery
- Consul Discovery
- Cloud Routing
- Zuul
- Gateway
- Ribbon
- Feign
- Cloud Circuit Breaker
- Hystrix
- Hystrix Dashboard
- Turbine
- Turbine Stream
- Cloud Tracing
- Sleuth
- Zipkin Client
- Cloud Messaging
- Cloud Bus
- Cloud Stream
- Reactive Cloud Stream
- Cloud AWS
- AWS Core
- AWS JDBC
- AWS Messaging
- Cloud Contract
- Cloud Contract Verifier
- Cloud Contract Stub Runner
- Pivotal Cloud Foundry
- Azure
- Spring Cloud GCP
- I/O
- Batch
- Apache Camel
- LDAP
- Quartz Scheduler
- Spring Shell
- Statemachine
- Ops