IntelliJ IDEA Plugin for Spring Boot: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 7: Line 7:
=Overview=
=Overview=


The Spring Boot IntelliJ IDEA plugin uses [[Spring Initializr#Overview|Spring Initializr]] API to generate [[Spring Boot]] projects. In IntelliJ 2021.2.1, the Spring Boot plugin is bundled and installed by default.
The Spring Boot IntelliJ IDEA plugin uses [[Spring Initializr#Overview|Spring Initializr]] API to generate [[Spring Boot]] projects.


=Installation=
=Installation=

Revision as of 23:15, 2 October 2021

Internal

Overview

The Spring Boot IntelliJ IDEA plugin uses Spring Initializr API to generate Spring Boot projects.

Installation

It should be installed by default, go to the plugin list and search for "Spring Boot".

Procedures

Create a New Spring Boot Project with Spring Initializr

Splash screen -> Create New Project -> Spring Initializr (note to not chose "Spring", but "Spring Initializr")

Project SDK

Choose Initializr Service URL -> Default https://start.spring.io -> Next

Project Metadata

  • Group
  • Artifact
  • Type (Maven Project, Maven POM, Gradle Project, Gradle Config)
  • Language
  • Packaging
  • Java Version
  • Version
  • Name
  • Description
  • Package (autogenerated based on group, including the artifact name, you may want to modify).

Dependencies

Project name:

Project location:

The result is similar to:

IntelliJIDEAPluginForSpringBootResult.png

Generated build.gradle:

build.gradle

Generated settings.gradle:

settings.gradle

Also see:

Spring Initializr Projecte Structure