lombok Questions
9
Solved
I am trying to compile my project that uses lombok through maven and i am getting the following issue:
[INFO] ------------------------------------------------------------------------
[INFO] Buildi...
48
Solved
I'm trying to use Lombok in my project that I'm developing using IntelliJ IDEA 11.
I've installed 3rd-party plugin for IDEA and it seems working fine because IDEA sees all autogenerated methods/fie...
Carden asked 24/2, 2012 at 2:3
9
Solved
I'm using project Lombok together with Spring Data JPA.
Is there any way to connect Lombok @Builder with JPA default constructor?
Code:
@Entity
@Builder
class Person {
@Id
@GeneratedValue(stra...
Isoleucine asked 12/12, 2015 at 15:44
4
Solved
I am trying to use maven to build my java project, but I always get the error message,
> Execution default of goal org.projectlombok:lombok-maven-plugin:1.18.10.0:delombok failed: A required cl...
28
Solved
I just tried to send a Maven-based project to another computer and HORROR,
red markers everywhere!!
However, mvn clean install is building just fine.
Quickly, I noticed that Lombok is not generat...
10
I worked with Lombok without any problems until Today, when my Intellij was automatically updated to the latest version 2020.3 30th, November build. After that, any Lombok annotations is not recogn...
Triptych asked 1/12, 2020 at 17:13
5
Solved
I am currently replacing all my standard POJO's to use Lombok for all the boilerplate code. I find myself keeping getters for lists because I want to return an empty list if the list has not been i...
2
Solved
I have an Entity
@Builder
class MyEntity {
private Set<OtherEntitiy> children = new HashSet<>()
}
And i get a lombok warning.
warning: @Builder will ignore the initializing expr...
Cilium asked 5/9, 2017 at 14:23
3
When trying to map nested Object using @Data and @Builder, mapStruct throw the following errors: "No read accessor found for property "profile" in target type."
@Mapper(componen...
Lanai asked 9/10, 2020 at 21:37
3
Solved
Have a target type, formed by Lombok:
@Data
@Builder
class Target {
private final String a;
}
and have a DTO:
@Value
@Builder
class DTO {
private final String a;
}
Mapper:
@Mapper(componen...
10
Solved
After upgrading to JDK 21, I have the following compilation error in my Spring Boot project:
Fatal error compiling: java.lang.NoSuchFieldError:
Class com.sun.tools.javac.tree.JCTree$JCImport does n...
Stat asked 25/9, 2023 at 9:5
3
I am using project lombok with my application. I was creating an enum. If I use
@AllArgsConstructor
annotation with my enum, it doesn't recognise the constructor, enum throws and error that i...
10
I have STS version 3.6.3.SR1 that's based on Eclipse Luna 4.4.1.
I did the following steps:
Download and run the Lombok runnable jar and gave the path of my STS.
I verified the entries of vmargs...
Caddoan asked 27/5, 2015 at 9:30
15
Solved
If I add @Builder to a class. The builder method is created.
Person.builder().name("john").surname("Smith").build();
I have a requirement where a particular field is required. In this case, the ...
7
Solved
I was playing with the Lombok library in Java and found an annotation called @SneakyThrows.
As the documentation states:
@SneakyThrows fakes out the compiler. In other words, Lombok doesn't wrap o...
Upend asked 5/10, 2020 at 12:39
6
Solved
I have a JHipster project in which I have added dependency for Lombok in build.gradle:
compile group: 'org.projectlombok', name: 'lombok', version: lombok_version
And I have the Lombok plugin st...
Habergeon asked 6/2, 2016 at 1:6
5
I'm using Lombok to add logging to my Java applications. I've been using this for some time, but since I upgraded my IDE from IntelliJ 13 Community edition to 14 Ultimate, I get the following compi...
Esme asked 12/2, 2015 at 14:40
23
Solved
Tech Stack being used :
Java 8
MapStruct : 1.2.0.Final
Lombok: 1.16.18
IDE: IntelliJ - Lombok Plugin already installed
Initially, I faced issues when I removed getters and setters and added @G...
Nerta asked 6/12, 2017 at 14:14
4
Solved
After installation of newest Android Studio I tried to install Lombok plugin (Android Studio Bumblebee 2021.1.1 | Built on January 19, 2022)
But didn't find Lombok in Settings -> Plugins -> ...
Sumter asked 28/1, 2022 at 22:24
23
Solved
I have followed the tutorial here
http://projectlombok.org/
but after adding import and @Data nothing happens.
Does it work on eclipse helios ?
6
Solved
I updated IntelliJ IDEA to version 2018.2.7, and Lombok's @Builder annotation is not recognised anymore. The project already had Lombok annotations, which worked fine with previous (2017...) versio...
Prepay asked 15/5, 2019 at 14:33
5
Solved
My question relates to "https://mcmap.net/q/334765/-gradle-build-fails-on-lombok-annotated-classes".
I am using JHipster and Lombok 1.16.18 with build.gradle:
...
apply plugin: 'net.ltgt....
5
I have the following definition:
@Value
@Builder(toBuilder = true)
public class MyEntity {
String name;
}
When trying to use a getter on a builder, e.g. MyEntityBuilder.getName(), IDEA states tha...
3
Solved
I have a project(ID3 tagging) that contains dozens of setters and getters. I'm investigating Project Lombok to see how it can help me.
Some of the fields that can be set have very strict requirem...
13
Solved
I have a class called as "XYZClientWrapper" , which have following structure:
@Builder
XYZClientWrapper{
String name;
String domain;
XYZClient client;
}
What I want no build function generate...
© 2022 - 2024 — McMap. All rights reserved.