The get and set methods of lombok referenced by the old java project are popular but do not affect the compilation

The solution is to install the lombok plugin in the idea plugin. specific location:

File ---- Settings... ---- Plugins ---- Marketplace Enter lombok installation, or choose to locally install the lombok plugin downloaded from the idea plugin official website (local installation, the button of the setting icon on the right of Installed, Select Install Plugin from Disk..., and then select the lombok plug-in locally. Note that the plug-in downloaded from the idea official website is zip. Do not unzip it, just select zip.) After installation, you need to restart idea

Guess you like

Origin blog.csdn.net/dd2016124/article/details/127792742