JAVA

[IntelliJ] 오류해결 : java cannot find symbol intellij lombok

데이25 2020. 10. 7. 23:33

1. Annotation Processors > Enable Annotation Processors 체크

 

 

2. build.gradle 에 다음 lombok 관련 모듈 추가 

    compileOnly 'org.projectlombok:lombok'
    annotationProcessor 'org.projectlombok:lombok'
    testAnnotationProcessor 'org.projectlombok:lombok'
    testCompile 'org.projectlombok:lombok'
    testImplementation 'org.projectlombok:lombok'