lombok-intellij-plugin: Incompatible with IntelliJ 2019.3

The plugin is entirely disabled by IntelliJ because it is Incompatible with the current IntelliJ IDEA version.

Plugin version: unclear. Under “marketplace”, IntelliJ reports 0.28-2019.3 (and says it is “installed”). Under “installed”, IntelliJ reports 0.18-2018.1.

IntelliJ version: IntelliJ IDEA 2019.3 (Ultimate Edition) Build #IU-193.5233.102, built on November 27, 2019 Runtime version: 11.0.4+10-b520.11 x86_64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o macOS 10.15.1 GC: ParNew, ConcurrentMarkSweep Memory: 1631M Cores: 8

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 11
  • Comments: 19 (2 by maintainers)

Most upvoted comments

I noticed that after uninstalling and reinstalling the plugin, it started working. So it looks like it’s the automatic update of the plugin that is somehow broken (IntelliJ did not offer to update this plugin, even though it did so for other plugins which were also marked as Incompatible with the current IntelliJ IDEA version.. I wonder if the fact that IntelliJ reported two different version numbers had something to do with that.

Hi @klporter , I meet this issue too. and I solve by:

  1. reinstall lombok plugin.
  2. upgrade lombok dependency:
        <dependency>
            <groupId>org.projectlombok</groupId>
            <artifactId>lombok</artifactId>
            <version>1.18.10</version>
        </dependency>
  1. If still not resolve, close IDEA and clear IDEA file(.idea/*), and then restart IDEA.

I noticed that after uninstalling and reinstalling the plugin, it started working. So it looks like it’s the automatic update of the plugin that is somehow broken (IntelliJ did not offer to update this plugin, even though it did so for other plugins which were also marked as Incompatible with the current IntelliJ IDEA version.. I wonder if the fact that IntelliJ reported two different version numbers had something to do with that.

Worked me for IDEA 2020.1

It was @UtilityClass annotation which broke my build (and that one error cascaded to other classes). It’s more Lombok-related. The following code breaks build:

@UtilityClass
public class ProxyUrlBuilder {
    public String proxyUrl(String baseProxyUrl, String requestPath, String queryString) {
        return baseProxyUrl + requestPath + (isEmpty(queryString) ? "" : "?" + queryString);
    }
}

whereas following fixes the build:

@UtilityClass
public class ProxyUrlBuilder {

    public static String proxyUrl(String baseProxyUrl, String requestPath, String queryString) {
        return baseProxyUrl + requestPath + (isEmpty(queryString) ? "" : "?" + queryString);
    }
}

I hope I save someone hours of investigation.