사용언어 java + spring framework
툴 : intellij
db : h2
빌드 : gradle
1. 프로그램 설치 (실습 용도로 사용)
java : jdk 11 version
intelliJ : community version 설치
2. 프로젝트 생성
3. build.gradle 설정
plugins {
id 'org.springframework.boot' version '2.4.2'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
}
group 'com.web.todo'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
// JPA
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
// rest
implementation 'org.springframework.boot:spring-boot-starter-data-rest'
// in 메모리 db
runtimeOnly 'com.h2database:h2'
// lombok 추가
implementation 'org.projectlombok:lombok'
}
test {
useJUnitPlatform()
}
728x90
'Programming > Web-Spring' 카테고리의 다른 글
[SpringBoot] @ModelAttribute 값받을때 null값 나오는 현상 (0) | 2023.06.14 |
---|---|
[Thymeleaf] SpringBoot에 Thymeleaf 적용하기 (0) | 2023.06.14 |
[SpringBoot] Spring 프로젝트에서 Thymeleaf 기본 설정하는 방법 (0) | 2023.06.14 |
[intellij/spring] h2 (메모리영역에서 사용하는db)설정 방법 (0) | 2022.05.27 |
SpringFramework 에서 다국어처리지원하기 (0) | 2018.08.08 |