IntelliJ安装lombok插件可以解决以上问题
步骤:

@Log4j找不到log
这里写图片描述

搜索Plugins
点击下方的Browse repositories..

@Log4j找不到log
这里写图片描述

点击安装,重新启动即可解决问题。

相关文章: