idea中lombok不生效

先检查是否安装lombok插件

file-->setting-->plugins 搜lombok安装重启

再检查是否启用注解处理

file-->setting-->build,excecution,deployment-->compiler-->annotation processors勾选上 enable annotation processing

猜你喜欢

转载自www.cnblogs.com/zh-ch/p/12970160.html