롬복오류
-
Lombok 오류 ) The method ~ is undefined for the type DTOSpring/기타 2024. 8. 12. 18:56
Spring 프로젝트를 하는 와중에 "The method ~ is undefined for the type ~"와 같은 오류가 계속 났다.setter를 찾지 못해 생기는 오류였다.@Data 어노테이션이나 @Setter 어노테이션 모두 사용해도 setter가 생성되지 않았다. 검색결과 수동으로 lomdok을 설치해야한다고 했다. 📌 다운로드 받기https://projectlombok.org/download Download projectlombok.org 다운로드를 해주고 명령프롬프트(cmd)창을 연다.java -jar lombok.jar위의 명령어로 lombok을 실행시켜준다. 1 ) 처음 창을 열면 I can't ~ 경고창이 뜨는데 일단 ok 눌러준다.2 ) specity location .. 를 눌..