idea安装lombok插件后,设置Enable Annotation Processing
安装lombok插件后,代码中get set方法虽然不报错,但编译时依然找不到get set方法。
解决方案: File——>Setting——>Build,Execution,Deployment——>Compiler——>Annotation Processors 中设置勾选 Enable Annotation Processing 即可
安装lombok插件后,代码中get set方法虽然不报错,但编译时依然找不到get set方法。
解决方案: File——>Setting——>Build,Execution,Deployment——>Compiler——>Annotation Processors 中设置勾选 Enable Annotation Processing 即可