๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
Spring

[Spring] log cannot be resolved Error

by cheezzz 2022. 6. 3.
๋ฐ˜์‘ํ˜•

 

ํ”„๋กœ์ ํŠธ๋ฅผ ๋„์šฐ๋Š” ๋„์ค‘ Problems์—์„œ log cannot be resolved ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•ด ์‹คํ–‰์ด ๋˜์ง€ ์•Š์•˜์Šต๋‹ˆ๋‹ค.

 

ํ•ด๊ฒฐ๋ฐฉ์•ˆ

1. Maven Dependencies > lombok.jar ํŒŒ์ผ ์˜ค๋ฅธ์ชฝ ๋ฒ„ํŠผ ํด๋ฆญ > Run As > Java Application ํด๋ฆญ์œผ๋กœ jar ์‹คํ–‰

 

2. Specify location > ํ˜„์žฌ ์ดํด๋ฆฝ์Šค ์œ„์น˜์˜ sts.ini ์„ ํƒ > ๋นˆ์นธ์ด์—ˆ๋˜ IDEs์— path ์ƒ์„ฑ
3. Install / Update ํด๋ฆญ

4. Project > Clean > ํ•ด๋‹นํ”„๋กœ์ ํŠธ ์„ ํƒ > Clean > restart

 

* Lombok
์—ฌ๋Ÿฌ๊ฐ€์ง€ ์–ด๋…ธํ…Œ์ด์…˜์„ ์ œ๊ณตํ•˜์—ฌ ๋ฐ˜๋ณต ์†Œ์Šค์ฝ”๋“œ(getter, setter...)๋ฅผ compile ๊ณผ์ •์—์„œ ์ƒ์„ฑํ•ด์ฃผ๋Š” ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ

 

์ฐธ๊ณ : https://parinote.tistory.com/23

๋ฐ˜์‘ํ˜•

'Spring' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

[Spring] project ".." is missing required annotation processor library Error  (1) 2022.05.19

๋Œ“๊ธ€