Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Lombok plug-in 0.32 fails using IntelliJ 2020.3 #2670

Open
sfitts opened this issue Dec 7, 2020 · 7 comments
Open

[BUG] Lombok plug-in 0.32 fails using IntelliJ 2020.3 #2670

sfitts opened this issue Dec 7, 2020 · 7 comments
Labels
parked Without further feedback this bug cannot be processed. If no feedback is provided, we close these.

Comments

@sfitts
Copy link

sfitts commented Dec 7, 2020

Describe the bug

The latest version of IntelliJ community edition (2020.3) does not seem to work with the current most recent Lombok plug-in. See mplushnikov/lombok-intellij-plugin#940 for more details. The claim in that issue was that the issue can only be fixed in Lombok itself and that an issue should be filed here.

Using Lombok 1.18.4 the error is:

java: You aren't using a compiler supported by lombok, so lombok will not work and has been disabled.
  Your processor is: com.sun.proxy.$Proxy32
  Lombok supports: sun/apple javac 1.6, ECJ

Using Lombok 1.18.16, the error is:

java: Compilation failed: internal java compiler error

To Reproduce

Install the current version of the IntelliJ plug-in into IntelliJ community edition 2020.3 (note that the plug-in is now built-in to the Ultimate edition, so that doesn't have this issue). Attempt to use Lombok in the project and you will see the issue.

Expected behavior

Code using Lombok should compile without error.

Version info (please complete the following information):

  • Lombok version -- 1.18.4 and 1.18.16
  • Platform -- IntelliJ Community Edition 2020.3

Additional context

See mplushnikov/lombok-intellij-plugin#940 for additional context.

@GimoXie
Copy link

GimoXie commented Jan 4, 2021

Hello, have you resolve your problem yet? I've met a same problem

@sfitts
Copy link
Author

sfitts commented Jan 4, 2021

Nope -- I'm currently running an older version of IntelliJ

@Rawi01
Copy link
Collaborator

Rawi01 commented Jan 15, 2021

I just downloaded 2020.3.1 and it works without any problems using the latest lombok version. Can you share some more details about your setup?

@Rawi01 Rawi01 added the parked Without further feedback this bug cannot be processed. If no feedback is provided, we close these. label Jan 15, 2021
@sfitts
Copy link
Author

sfitts commented Jan 15, 2021

@Rawi01 is this the community edition? If so that would be great (my previous attempts were with 2020.3.0, so it could be fixed).

@Rawi01
Copy link
Collaborator

Rawi01 commented Jan 15, 2021

@sfitts Yes

@sfitts
Copy link
Author

sfitts commented Jan 15, 2021

Great, I'll give that a try when I get a chance.

@seanzhou321
Copy link

seanzhou321 commented Jun 3, 2021

I have the same issue. I am running IntelliJ 2021.1.2 Ultimate. Searching IntelliJ plugin marketplace for lombok plugin from IDE did not show lombok plugin. Instead, RoboPOJOGenerator and JPA Support were on the top of the list. Both generates POJO or entity beans from lombok. Therefore I installed both. However, I am still seeing the error of
java: You aren't using a compiler supported by lombok, so lombok will not work and has been disabled.

The IntelliJ version is
Ultimate 2021.1.2
Build #IU-211.7442.40 built on May 31, 2021
It is running on macbook intel chip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
parked Without further feedback this bug cannot be processed. If no feedback is provided, we close these.
Projects
None yet
Development

No branches or pull requests

4 participants