I want to use a data class in Lombok. Since it has about a dozen fields, I annotated it with @Data in order to generate all the setters and...
  • May 14, 2022
  • 0 Comments
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by...
  • May 5, 2022
  • 0 Comments
A @RequiredArgsConstructor will be generated if no constructor has been defined. The Project Lombok @Data page explains: @Data is like having implicit @Getter, @Setter, @ToString, @EqualsAndHashCode and @RequiredArgsConstructor annotations on the class (except that no constructor...
  • April 7, 2022
  • 0 Comments
This should work as is, and has nothing to do with IntelliJ idea. But I would: make sure the @Data annotation is the lombok one remove the repository definition (maven central...
  • April 7, 2022
  • 0 Comments