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

2022. 3. 5. 12:05ใ†Backend/๐ŸŒฟ Spring

์ƒํ™ฉ

ํ”„๋กœ์ ํŠธ ์„ธํŒ… ๋‹จ๊ณ„์—์„œ @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

์œ„ ๊ณผ์ •์„ ์™„๋ฃŒ ํ›„ ์žฌ๋นŒ๋“œํ•˜๋ฉด ๋กœ๊ทธ๊ฐ€ ์ •์ƒ์ ์œผ๋กœ ์ ์šฉ๋˜๋Š” ๊ฒƒ์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ๋‹ค.