Lombok study link: https://www.jianshu.com/p/365ea41b3573
- Add below dependency code to pom.xml
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.16.12</version>
</dependency> - Install IntelliJ IDEA plug in for lombok
- Go to File->Setting→Plugins
- Search "Lombok Plugin" plugins
- Open Proxy and Install plugin
- restart IntelliJ IDEA