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.
--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 --Search for ** Spring Assistant ** from Marketplace and Install --Restart IntelliJ
--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.
--Added dependency (recommended below)
--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
.
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