idea使用lombok不生效的解决办法

file-->setting-->plugins点击下方的 browse repositories。

搜索lombok plugin。
安装后,重启。
file-->setting-->build,excecution,deployment-->compiler-->annotation processors勾选上 enable annotation processing。即可生效。

搜索lombok plugin。
安装后,重启。
file-->setting-->build,excecution,deployment-->compiler-->annotation processors勾选上 enable annotation processing。即可生效。

猜你喜欢

转载自www.cnblogs.com/dashi/p/12184776.html