1. jdk 설치

https://www.oracle.com/java/technologies/downloads/ 

 

Download the Latest Java LTS Free

Subscribe to Java SE and get the most comprehensive Java support available, with 24/7 global access to the experts.

www.oracle.com

 

2. 환경변수 설정

환경변수 --> 시스템변수 --> JAVA_HOME 에 설치된 jdk 경로 추가

환경변수 --> 시스템변수 --> Path 누르고 편집 누르기 --> 새로 만들기 누르기 --> %JAVA_HOME%/bin 추가

 

3. vscode 마켓플레이스에서 확장팩 설치

  • Java Extension Pack
  • Spring Boot Extension Pack
  • Lombok Annotations Support for VS Code

4. Ctrl + Shift + P 누르고 선택창에서 "Spring initalizr: Create a Gradle Project" 선택 후

spring boot 3.1.5

language Java

Java version 17

Packaging type jar

Dependencies 

  • Spring Boot DevTools
  • Lombok
  • Spring Configuration Processor
  • Spring Web
  • Spring Data JPA
  • H2 Database
  • Flyway Migration
  • MariaDB Driver <- PostgreSQL Driver 등 사용하는 DB driver로

선택

 

5. 프로젝트 만들 폴더 선택

6. 완료

 

 

+ Recent posts