1. Springboot 설정하기

Springboot
홍윤's avatar
Aug 14, 2024
1. Springboot 설정하기

1. Springboot 프로젝트 만들기

  • name. Location, Language, Type, Group, Artifact, Packge name, JDK, Java , Packaging 설정 확인 하고 만들기
notion image
 
  1. Springboot 버전 3.3.2 and 도움 툴 확인하기(Lombok,Spring Web 등등)
notion image
notion image
 
  1. File→Settings→Plugins 들어가서 Lombok 등 tools 제대로 들어갔나 확인 하기
 
notion image
notion image
  1. build.gradle 들어가서 내가 넣은 tools 확인하기!
notion image
dependencies { implementation 'org.springframework.boot:spring-boot-starter-data-jpa' implementation 'org.springframework.boot:spring-boot-starter-mustache' implementation 'org.springframework.boot:spring-boot-starter-web' compileOnly 'org.projectlombok:lombok' developmentOnly 'org.springframework.boot:spring-boot-devtools' runtimeOnly 'com.h2database:h2' annotationProcessor 'org.projectlombok:lombok' testImplementation 'org.springframework.boot:spring-boot-starter-test' testRuntimeOnly 'org.junit.platform:junit-platform-launcher' }
  • 이렇게 하는 이유는 build시스템 gradle 가독성이 좋다.
 
Share article

Uni