[Spring] Environment construction

IDE preparation

Download Java "Full Edition" from https://mergedoc.osdn.jp/. After that, unzip it to a suitable location and start it.

Project creation

Select "File-> New-> Other" image.png

Select "Spring Starter Project" image.png

image.png

If you have something to use, please select it accordingly. image.png

image.png

Since the above procedure uses the database, set the database.

/demo/src/main/resources/application.properties


spring.datasource.url=jdbc:mysql://localhost/{Database name}?serverTimezone=JST
spring.datasource.username={User name}
spring.datasource.password={password}
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver

Application launch

Startup procedure

Right-click on the project → Execute → Spring Boot application image.png

Start confirmation

Open http: // localhost: 8080 / in your browser. The error is displayed on the surface as shown below, but there is no problem because it occurs because there is no controller etc. image.png

Recommended Posts

[Spring] Environment construction
[Spring Boot] Environment construction (macOS)
Docker × Spring Boot environment construction
◆ Spring Boot + gradle environment construction memo
[Java] Environment construction
Java environment construction
Docker environment construction
Spring Boot environment construction memo on mac
Spring Boot + Docker Java development environment construction
Try Spring Boot 1 (Environment construction ~ Tomcat startup)
[Environment construction] Spring Tool Suite4 installation (Mac)
[Environment construction] Eclipse installation
[Flutter] Ubuntu 20.04 environment construction
Spring boot development-development environment-
Circle CI environment construction
Spring Boot environment construction with Docker (January 2021 version)
JAVA + STS (Spring Tool Suite) environment construction procedure
Rails6 development environment construction [Mac]
Rails engineer environment construction ruby2.7.1
EC-CUBE4 environment construction (local edition)
Rails environment construction Rails5.2.1 ruby2.5.1 Catalina
Introduction to Metabase ~ Environment Construction ~
JavaFX environment construction in Java 13
[Docker] Rails 5.2 environment construction with docker
AtCoder Challenge Environment Construction (Java 8)
Offline environment construction Ruby edition
Build Spring for Android 2.0.0 environment
[Rails / MySQL] Mac environment construction
[Docker] postgres, pgadmin4 environment construction
Laravel environment construction (Ubuntu 18.04 LTS)
React environment construction with Docker
Database environment construction with Docker in Spring boot (IntellJ)
Offline environment construction CentOS edition
Java + Spring development environment construction with VirtualBox + Ubuntu (Xfce4)
Rails + MySQL environment construction with Docker
[Windows] WSL2 + Ubuntu + Node.js environment construction
Node.js environment construction with Docker Compose
Environment construction for Servlet application development
Environment construction with Docker for beginners
Ruby environment construction summary ~ mac version ~
Java Spring environment in vs Code
Laravel + Docker Laradock usage environment construction
Make a language! (JavaCC environment construction)
Ruby on Rails 6.0 environment construction memo
Rails on Docker environment construction procedure
[Environment construction with Docker] Rails 6 & MySQL 8
CentOS8 + Anaconda 4.9.2 + jupyterhub environment construction procedure
[Java & SpringBoot] Environment Construction for Mac
Troublesome Rails environment construction flow [Windows 10]
[Environment construction] Uninstall rails from local
[Rails] AWS EC2 instance environment construction
Java runtime environment construction method (Tomcat @ Linux)
Create Spring Boot development environment on Vagrant
CentOS8 + Anaconda + Django development environment construction procedure
spring × docker
GPU environment construction with Docker [October 2020 version]
[Processing x Java] Construction of development environment
Rails environment construction with Docker (personal apocalypse)
Laravel development environment construction with Docker (Mac)
Sapper × Go (echo) × Docker development environment construction
Universal Robotics UR Caps development environment construction