728x90
Intellij에서 Lombok을 import하고 @Getter @Setter를 쓰면 될 줄 알고 써보면 잘 안될 때가 있습니다. 그래서 찾아보았습니다.
UserDto.java
위와 같이 Lombok으로 getter, setter를 만들어 주었습니다.
하지만 롬복으로 생성되었을 setter를 호출 했더니 cannot find symbol에러가 납니다.
Annotation Processors에서 Enable Annotation Processing을 설정 해주어야 합니다.
728x90