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

JMapper with Lambok #92

Open
sudeerjoshi opened this issue Nov 12, 2020 · 1 comment
Open

JMapper with Lambok #92

sudeerjoshi opened this issue Nov 12, 2020 · 1 comment

Comments

@sudeerjoshi
Copy link

I am using JMapper with some POJO classes which has setter getter methods and it's working fine, when I removed all setters and getters and used Lombok for the same, I am getting MalformedBean exception saying get....() not found ...will JMapper supports working with Lombok?

@DaTa(from lombok) // generates getters and setters
public class Document {

protected FIToFIPaymentStatusReportV06 fiToFIPmtStsRpt;

}

for this ?

@Shryne
Copy link

Shryne commented Dec 8, 2020

JMapper works with Lombok. Example:

@Getter
@Setter
public class Foo {
  @JMap("somethingElse")
  private int bar;
}

This should work with your setup. If it does, try to convert it to your use case step by step and see what's wrong. It's certainly not Lombok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants