Backend/🌿 Spring

[Springboot] java: You aren't using a compiler supported by lombok, so lombok will not work and has been disabled.

Hugehoo 2022. 3. 5. 12:05

상황

ν”„λ‘œμ νŠΈ μ„ΈνŒ… λ‹¨κ³„μ—μ„œ @Slf4j μ–΄λ…Έν…Œμ΄μ…˜μ„ μ‚¬μš©ν•˜μ—¬ log λ₯Ό 적용 ν›„ 메인 λ©”μ„œλ“œλ₯Ό ν˜ΈμΆœν•  λ•Œ λ°œμƒν•œ μ—λŸ¬.

java: You aren't using a compiler supported by lombok, so lombok will not work and has been disabled.
  Your processor is: com.sun.proxy.$Proxy24
  Lombok supports: sun/apple javac 1.6, ECJ

 

 

ν•΄κ²°

mac os κΈ°μ€€ Intellij -> preference 에 λ“€μ–΄κ°„λ‹€.

Shared build process VM options: 에 μ•„λž˜ λͺ…λ Ήμ–΄λ₯Ό μž…λ ₯ν•œλ‹€.

-Djps.track.ap.dependencies=false

μœ„ 과정을 μ™„λ£Œ ν›„ μž¬λΉŒλ“œν•˜λ©΄ λ‘œκ·Έκ°€ μ •μƒμ μœΌλ‘œ μ μš©λ˜λŠ” 것을 확인할 수 μžˆλ‹€.