We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Exception occurs using annotation implicitcreation to create setter and getter method
To Reproduce using this block of code occured error log when compiler @Setter @Getter public class TaSellerVo { /** * user id */ private Integer id; }
@Setter @Getter public class TaSellerVo { /** * user id */ private Integer id; }
using this block of code it's working @Setter @Getter public class TaSellerVo { private Integer id; }
@Setter @Getter public class TaSellerVo { private Integer id; }
Expected behavior compilation successful
Version info (please complete the following information):
Lombok version <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.18.6</version> </dependency>
<dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.18.6</version> </dependency>
Platform javaVersion:jdk7 compilation log: Error:java: Lombok annotation handler class lombok.javac.handlers.HandleSetter failed on C:\MyTools\codeCloud\xxxxxxxxxxxxxxxxxxxxxxxx.java: java.lang.NoSuchMethodError: java.util.Map.putIfAbsent(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
Error:java: Lombok annotation handler class lombok.javac.handlers.HandleSetter failed on C:\MyTools\codeCloud\xxxxxxxxxxxxxxxxxxxxxxxx.java: java.lang.NoSuchMethodError: java.util.Map.putIfAbsent(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
The text was updated successfully, but these errors were encountered:
Sorry. We shouldn't have used Map.putIfAbsent, since it was only introduced in 1.8.
Map.putIfAbsent
Sorry, something went wrong.
Duplicate of #2066, already fixed in 1.18.8.
get it.
No branches or pull requests
Describe the bug
Exception occurs using annotation implicitcreation to create setter and getter method
To Reproduce
using this block of code occured error log when compiler
@Setter @Getter public class TaSellerVo { /** * user id */ private Integer id; }
using this block of code it's working
@Setter @Getter public class TaSellerVo { private Integer id; }
Expected behavior
compilation successful
Version info (please complete the following information):
Lombok version
<dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.18.6</version> </dependency>
Platform
javaVersion:jdk7
compilation log:
Error:java: Lombok annotation handler class lombok.javac.handlers.HandleSetter failed on C:\MyTools\codeCloud\xxxxxxxxxxxxxxxxxxxxxxxx.java: java.lang.NoSuchMethodError: java.util.Map.putIfAbsent(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
The text was updated successfully, but these errors were encountered: