A new version of the Lombok plugin is bundled with newer versions of IntelliJ. If you have an older version of the plugin already installed and you upgrade IntelliJ, IntelliJ may get stuck in a state that requires manually uninstalling the older plugin.
It appears this is because the older Lombok plugin is incompatible with the newer version of IntelliJ, and the newer plugin is bundled, so it can neither be uninstalled nor upgraded. However, they are not properly treated as two separate plugins, resulting in a plugin incompatible with the installed version of IntelliJ, can't be upgraded, and can't be uninstalled.
To get rid of this conflict:
- stop IntelliJ
- delete the plugin directory from the file system; If you have Jetbrains Toolbox, go to IntelliJ IDEA settings, and copy the install location. Remove the Lombok plugin directory
rm -rf lombok-plugin
- start IntelliJ
- feel free to enable the Lombok plugin, and this would be the bundled one now.