Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 440
fbnrbn Avatar asked Jul 30 '20 06:07

fbnrbn


People also ask

Does IntelliJ come with Lombok?

As of IntelliJ version 2020.3, we don't need to configure the IDE to use Lombok anymore. The IDE comes bundled with the plugin. Also, the annotation processing will be enabled automatically.

How do I enable annotation processing in Lombok IntelliJ?

Lombok plugin[Preference->plugins->browse repositories->search 'lombok'->install and restart idea. Preference ->search 'annotation'->enter annotation processor ->enable annotation processing.

What is Lombok plugin?

What is Lombok. Project Lombok (from now on, Lombok) is an annotation-based Java library that allows you to reduce boilerplate code. Lombok offers various annotations aimed at replacing Java code that is well known for being boilerplate, repetitive, or tedious to write.


2 Answers

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.

like image 102
ConnorVanElswyk Avatar answered Oct 24 '22 13:10

ConnorVanElswyk


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

like image 23
Jens Schreiber Avatar answered Oct 24 '22 13:10

Jens Schreiber