Download Java "Full Edition" from https://mergedoc.osdn.jp/. After that, unzip it to a suitable location and start it.
Select "File-> New-> Other"
Select "Spring Starter Project"
If you have something to use, please select it accordingly.
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
Right-click on the project → Execute → Spring Boot application
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.
Recommended Posts