You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FEATURE: Private no-args constructor for @Data and @Value to enable deserialization frameworks (like Jackson) to operate out-of-the-box. Use lombok.noArgsConstructor.extraPrivate = false to disable this behavior.
Possible Solutions
Through lombok issue 1730, It is certain that there have a bug in using @Data and @NoArgsConstructor together which supported by Lombok v1.16.22. It reports an existing no-args constructor on such class .
SpringBoot v2.0.4 dependency management includes Lombok v1.16.22, which includes this bug causing compilation errors.
The bug was fixed in Lombok v1.18.0
The best solution is corrected this reference to v1.18.0 by SpringBoot
But SpringBoot didn't plan to update this recently,SpringBoot's suggestion is upgrade to V1.18.0 by ourselves.
SO we should corrected this in gfw's pom.xml by set Lombok Version to 1.18.0
After upgrading, our code does not need to be changed.
When SpringBoot update its dependency ,we can delete this version settings then
Description
projectlombok/lombok#1703
Possible Solutions
@Data
and@NoArgsConstructor
together which supported by Lombok v1.16.22. It reports an existing no-args constructor on such class .Affects Version/s
Fix Version/s
Final Solution
(To be written later by project member)
Issue Links
The text was updated successfully, but these errors were encountered: