(1)开启注解
在file->Setting->Build,Excution,Deployment->Compiler->Annotation Processors勾选Enable Annotation Processors
Intellij idea 不能识别 @Slf4j ,@Getter ,@Setter 注解

(2)安装lombok
在file->Setting->Plugins输入lombok,点击search in repositories,对上述插件进行安装,安装之后要重启idea
Intellij idea 不能识别 @Slf4j ,@Getter ,@Setter 注解

相关文章:

  • 2021-09-19
  • 2022-12-23
  • 2021-06-29
  • 2021-09-21
  • 2021-09-15
  • 2022-01-11
  • 2022-12-23
猜你喜欢
  • 2021-03-31
  • 2021-06-18
  • 2021-10-26
  • 2021-05-30
  • 2022-12-23
  • 2021-06-30
  • 2021-12-07
相关资源
相似解决方案