I am new to lombok. I just annotated the pojo with @Data annotation, and it has generated multiple methods. do you have an idea what on what can be the reason?
Here is the code,
package com.stack.model;
import lombok.Data;
@Data
public class Animal {
private Integer id;
private String name;
}
And, I am getting multiple errors. The default constructor is never generated, and ambiguous methods.