[JAVA] How to make a hinadan for a Spring Boot project using SPRING INITIALIZR

Overview

I had the opportunity to create a simple web project, and until now I had created the project from scratch myself, but with all my might ** SPRING INITIALIZR **, the chick of Spring Boot There is a web service that creates a shape project, so I tried using it after studying.

What is SPRING INITIALIZR?

As mentioned above, just select the build tool (Maven / Gradle), language (Java / Groovy / Kotlin), and Spring Boot version to be used on the Web, and you will be able to create a project. It is a god service that is perfect for Spring Boot users to create it.

I tried using it

Premise

This time

I made a hina platform.

download

Go to ** here **, select the architecture you like, and press the ** Generate Project button ** at the bottom.

screencapture- 2017-11-15 14.53.34.png

The zip file ** download ** will be completed in a few seconds.

Deployment

Extract the downloaded zip file to any directory and enter it.

screencapture- 2017-11-15 15.08.11.png

The extracted file contains ** gradlew ** and ** gradlew.bat **, so execute the command.

command


./gradlew

After a short wait, the build will ** complete **.

screencapture- 2017-11-15 14.40.37.png

Start-up

The following command will ** start ** the app.

command


./gradlew bootrun
screencapture- 2017-11-15 14.55.21.png

Verification

When you access http: // localhost: 8080 /, the following ** error screen ** is displayed.

screencapture- 2017-11-15 15.11.02.png

At the end

It took less than ** 5 minutes ** from ** download ** to ** tomcat startup confirmation ** of the zip file.

** Shugoi **

It's just one word.

You can create a project without any knowledge, so it is recommended for those who are new to Spring Boot.

After that, it is possible to ** implement a web application ** by ** fleshing out this project more and more **.

Everyone, please ** use ** in case of ** new project ** ♪

Recommended Posts

How to make a hinadan for a Spring Boot project using SPRING INITIALIZR
[Spring Boot] How to create a project (for beginners)
How to write a unit test for Spring Boot 2
How to create a Spring Boot project in IntelliJ
How to make a Maven project
How to make a groundbreaking diamond using Java for statement wwww
How to make Spring Boot Docker Image smaller
How to add a classpath in Spring Boot
How to make a lightweight JRE for distribution
Java beginner tried to make a simple web application using Spring Boot
How to set Dependency Injection (DI) for Spring Boot
[Introduction to Spring Boot] Submit a form using thymeleaf
How to make a mod for Slay the Spire
Let's make a circuit breaker for back-end service using Actuator of Spring Boot (Part 1)
How to output array values without using a for statement
How to control transactions in Spring Boot without using @Transactional
How to make a Java container
How to set Spring Boot + PostgreSQL
How to make a JDBC driver
How to make a splash screen
How to make a Jenkins plugin
How to use ModelMapper (Spring boot)
How to make a Java array
How to make CsrfRequestDataValueProcessor and original RequestDataValueProcessor coexist on Spring Boot
How to execute a contract using web3j
How to sort a List using Comparator
How to make a Java calendar Summary
How to create a Maven repository for 2020
How to make a Discord bot (Java)
How to make asynchronous pagenations using Kaminari
How to split Spring Boot message file
How to build a Ruby on Rails environment using Docker (for Docker beginners)
[For internal use] For those assigned to the Spring Boot project (under construction)
Steps to create a simple camel app using Apache Camel Spring Boot starters
How to display characters entered in Spring Boot on a browser and reference links [Introduction to Spring Boot / For beginners]
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)
Run a Spring Boot project in VS Code
How to use built-in h2db with spring boot
How to delete a controller etc. using a command
[Ethereum] How to execute a contract using web3j-Part 2-
How to use Spring Boot session attributes (@SessionAttributes)
How to create pagination for a "kaminari" array
Create a Spring Boot application using IntelliJ IDEA
Java tips-Create a Spring Boot project in Gradle
[1st] How to create a Spring-MVC framework project
How to generate a primary key using @GeneratedValue
Try to make a music player using Basic Player
How to bind to property file in Spring Boot
Apply Twitter Bootstrap 4 to Spring Boot 2 using Webjars
How to make a follow function in Rails
[Spring Boot] How to refer to the property file
Spring Boot --How to set session timeout time
[Java] How to make multiple for loops single
[Spring Boot] How to get properties dynamically from a string contained in a URL
How to make a judgment method to search for an arbitrary character in an array
How to create an Excel form using a template file with Spring MVC
From creating a Spring Boot project to running an application with VS Code
Create a portfolio app using Java and Spring Boot
Settings for connecting to MySQL with Spring Boot + Spring JDBC