[JAVA] How to create a Spring Boot project in IntelliJ


There are so many things I don't understand, so I ran it for the time being and summarized what I can see on localhost.


Introducing plugins in IntelliJ

--Open the top of IntelliJ (Welcome to IntelliJ IDEA) --If you have another project open, close it with File-> Close Project --Lower right Configure-> Open Plugins スクリーンショット 2019-07-30 21.52.07.png スクリーンショット 2019-07-30 21.54.15.png --Search for ** Spring Assistant ** from Marketplace and Install スクリーンショット 2019-07-30 21.56.02.png --Restart IntelliJ

Project creation part 1

--Select Create New Project --Select the ** Spring Assistant ** that you installed earlier on the left side. --Select Java version in Project SDK --Spring Initializr server can be left as Default ――I don't know what happens if you choose another one, so please check it yourself. スクリーンショット 2019-07-30 21.56.46.png

Project creation part 2

Project creation part 3

--Added dependency (recommended below)

View in browser

--Application.java is created automatically, so you need to create a Controller or write code equivalent to it. --I will add it when I feel like it --Create an HTML file in the src / main / resources / templates directory and put it in it --You can change from the default 8080 to [localhost: 3000](http: // localhost: 3000 /) by adding an appropriate number to resources / application.propaties, such as server.port = 3000.

in conclusion

The Spring framework is full of things I don't understand yet, but I thought it would be very convenient for me to be able to create a new project with IntelliJ!

Recommended Posts

How to create a Spring Boot project in IntelliJ
[Spring Boot] How to create a project (for beginners)
Create Java Spring Boot project in IntelliJ
How to add a classpath in Spring Boot
How to create a new Gradle + Java + Jar project in Intellij 2016.03
Until you create a Spring Boot project in Intellij and push it to Github
Create a Spring Boot project in intellij and exit immediately after launching
Launch (old) Spring Boot project in IntelliJ
How to make a hinadan for a Spring Boot project using SPRING INITIALIZR
Run a Spring Boot project in VS Code
Create a Spring Boot application using IntelliJ IDEA
How to create a theme in Liferay 7 / DXP
Java tips-Create a Spring Boot project in Gradle
[1st] How to create a Spring-MVC framework project
How to easily create a pull-down in Rails
How to bind to property file in Spring Boot
How to create a method
How to create a Java environment in just 3 seconds
How to write a unit test for Spring Boot 2
How to create a data URI (base64) in Java
How to use CommandLineRunner in Spring Batch of Spring Boot
[Spring Boot] How to get properties dynamically from a string contained in a URL
How to set Spring Boot + PostgreSQL
[Java] How to create a folder
How to use ModelMapper (Spring boot)
How to make a Maven project
How to create a placeholder part to use in the IN clause
How to call and use API in Java (Spring Boot)
How to create a service builder portlet in Liferay 7 / DXP
How to control transactions in Spring Boot without using @Transactional
How to insert a video in Rails
How to include Spring Tool in Eclipse 4.6.3?
How to create a Maven repository for 2020
How to create your own Controller corresponding to / error with Spring Boot
[Swift5] How to create a splash screen
[rails] How to create a partial template
How to publish a library in jCenter
How to split Spring Boot message file
Create a Spring Boot app development project with the cURL + tar command
How to create a query using variables in GraphQL [Using Ruby on Rails]
A story about a Spring Boot project written in Java that supports Kotlin
How to create a server executable JAR and WAR with Spring gradle
How to not start Flyway when running unit tests in Spring Boot
How to change the value of a variable at a breakpoint in intelliJ
Steps to create a simple camel app using Apache Camel Spring Boot starters
Create a website with Spring Boot + Gradle (jdk1.8.x)
How to create a database for H2 Database anywhere
[Rails] How to create a graph using lazy_high_charts
How to use MyBatis2 (iBatis) with Spring Boot 1.4 (Spring 4)
How to display a web page in Java
How to use built-in h2db with spring boot
How to make Spring Boot Docker Image smaller
How to use Spring Boot session attributes (@SessionAttributes)
How to create pagination for a "kaminari" array
How to create a class that inherits class information
How to run a djUnit task in Ant
How to implement a like feature in Rails
[Rails] How to create a Twitter share button
How to make a follow function in Rails
Create a web api server with spring boot
How to define multiple orm.xml in Spring4, JPA2.1