공부/JPA

Query DSL - 프로젝트 환경설정

데부한 2022. 8. 4. 21:55
반응형

출처 : 인프런 실전! QueryDSL

Query DSL게시글은 대부분 인프런의 김영한님의 강의인 '실전! Query DSL' 기반으로 내용을 정리했습니다.

 

프로젝트 환경 설정(springboot 2.7.2 기준)

 

 

  • Build and run 설정 - IntelliJ IDEA로 변경

 

  • HelloController.class 생성
@RestController
public class HelloController {

    @GetMapping("/hello")
    public String hello() {
        return "hello!";
    }
}

 

  • 확인

 

  • lombok 설정 - install

 

  • lombok 설정 - Enable annotation processing

반응형