Intellij idea 不能识别 @Slf4j ,@Getter ,@Setter 注解

(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 注解