IntelliJ_스프링 부트에서 JPA로 데이터베이스 다루기 dependencies { compile('org.springframework.boot:spring-boot-starter-web') compile('org.projectlombok:lombok') compile('org.springframework.boot:spring-boot-starter-data-jpa') compile('com.h2database:h2') testCompile('org.springframework.boot:spring-boot-starter-test') } org.springframework.boot:spring-boot-starter-data-jpa com.h2database:h2 의존성 등록하기 domain 패키지에..