Skip to content

05.1) Spring Boot project 생성 방법

choi jae ho edited this page Jun 1, 2021 · 1 revision

📋 1. Spring Boot project 생성 방법

Spring Initializr

  1. http://start.spring.io
    : online Spring Boot application generator (온라인으로 부트 페이지 만들기 가능)
  2. the zip file was downloaded
  3. upzip the file
  4. inport maven project into our IDE

Using Intellij IDEA

you can create a Spring Boot project from Intellij IDEA by selecting File
new -> project -> spring Initializr

📋 Spring Boot project Structure

image image

static folder is used for serving web static content, all the html, css, js, etc
templates folder is a place where you put all the thymeleaf templates

주의사항

JAR 파일로 패키징할때 /src/main/webapp 디렉토리를 사용하면 안된다.
따라서 JAR파일로 generate 할때 ignore 된다.