Skip to content

Lombok: Duplicate annotation of non-repeatable type @JsonProperty. #4263

Description

@mathieufortin01

I went from 1.41 to 1.49. Downgraded to 1.48, 1.47, 1.46 with same issue, so not sure when that started. I cannot go back too far since I think it becomes incompatible with Cursor.

It seems that this is the issue: projectlombok/lombok#3946

And theres this PR that supposedly would fix it: projectlombok/lombok#3963

To reproduce (taken from other issue, same error in vscode):

Set up lombok.config with lombok.copyJacksonAnnotationsToAccessors=true.
Create a class like the one below in Eclipse with Lombok plugin installed.

@Data
public class Person {

@JsonProperty("name")
private String name;

}

This seems like a fairly important fix. Any way to fasttrack that fix on the other side ?

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions