준호씨의 블로그

IntelliJ - How to solve lombok "Cannot resolve symbol 'log'" 본문

개발이야기

IntelliJ - How to solve lombok "Cannot resolve symbol 'log'"

준호씨 2018.02.07 22:25

There is a code with lombok

@Slf4j
public class SomeClass {
    ...
    log.info("blah blah");

IntelliJ could warn "Cannot resolve symbol log" for log.

Install the lombok plugin. Preferences -> Plugins -> Browse repositories... -> search lombok -> Install "IntelliJ Lombok plugin"

Then restart IntelliJ IDE.

0 Comments
댓글쓰기 폼