fbnrbn
fbnrbn

Reputation: 461

Lombok incompatible with IntelliJ 2020.2

After the last update to IntelliJ 2020.2 i get the Error:

Plugin "Lombok" is incompatible (until build 201.SNAPSHOT < IC-202.6397.94).

I've searched for the problem, but it seems that i'm the only one who has the problem with this IntelliJ version.

Upvotes: 46

Views: 18435

Answers (11)

Prince
Prince

Reputation: 163

For intellij, Go to

File > Settings > Plugins > Update

Upvotes: 0

Mohamed Ragab
Mohamed Ragab

Reputation: 549

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:

  1. stop IntelliJ
  2. 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
  3. start IntelliJ
  4. feel free to enable the Lombok plugin, and this would be the bundled one now.

Upvotes: 1

user3198259
user3198259

Reputation: 174

Installed latest version(2020.3) of intellij and issue resolved for me.

Upvotes: 0

Mihai Vlasceanu
Mihai Vlasceanu

Reputation: 310

I had the same problem for 3 plugins, I solved by: File -> Invalidated caches / restart

Upvotes: 2

Maneki
Maneki

Reputation: 357

Just take the last Intellij 2020.2 RC build (which fix this bug) on : https://confluence.jetbrains.com/display/IDEADEV/IDEA+2020.2+latest+builds

And be careful to also install last lombok intellij plugin (0.30.1).

This issue is detailed on https://github.com/mplushnikov/lombok-intellij-plugin/issues/649 and is not entirelly the fault of the plugin (that's why intellij RC must be also installed)

Obviously this solution should be preferred while waiting for a final Intellij 2020.2.1 version.

More detailled information on https://youtrack.jetbrains.com/issue/IDEA-248146 (minimum build version for fix is IntelliJ IDEA 2020.2.1 RC Build #IC-202.6948.36, built on August 18, 2020)

Upvotes: 1

Glamdring
Glamdring

Reputation: 69

I basically had to reinstall it twice. This is what I did to resolve the issue:

  • Uninstall the plugin
  • Invalidate caches and restart
  • Install the plugin (issue remained)
  • Uninstalled the plugin a second time
  • Restart (no invalidate cache this time)
  • Install plugin again (issue resolved)

I think someone else mentioned that the plugin does not get installed correctly the first time.

Upvotes: -1

Nozomi
Nozomi

Reputation: 56

The plugin is incompatible with the new version of IntelliJ. Before validating update to version 2020.2 IntelliJ displays a message of incompatibles plugins and Lombok is one of them: IntelliJ update warning

You have the option to go back to IntelliJ version 2020.1 and wait for an update of Lombok

Upvotes: 1

viniciusalvess
viniciusalvess

Reputation: 814

A new version of lombok was released here: Lombok

Just download the .jar file and install the plugin from disk. enter image description here

Upvotes: 6

nelsw
nelsw

Reputation: 715

The solution for me was:

  1. Uninstall Lombok Plugin
  2. Invalidate Caches & Restart
  3. Install Lombok plugin 0.30 EAP
  4. Invalidate Caches & Restart

Additional issues mentioned here.

Upvotes: 47

Paweł Cieśla
Paweł Cieśla

Reputation: 16

It seems that IntelliJ is not installing automatically new version of lombok plugin. Let's uninstall -> restart IDE -> Install Lombok plugin. (now you will have new version installed)

Upvotes: 3

Jens Schreiber
Jens Schreiber

Reputation: 129

I made an update this morning. Everything works. Intellj indicates that it is not compatible, but treats it correctly when updating. The validation of Intellj is incorrect because Lombok delivers the compatibility in the same version.

See: https://plugins.jetbrains.com/plugin/6317-lombok

Upvotes: 8

Related Questions