idea — setting — plugins, 搜索栏中输入Lombok。 如果出现No plugins found,Search in repositories, 就直接点开Search in repositories, 再次搜索Lombok, 点击安装重启 idea 就可以了