07-20-2023, 12:55 PM
Bek's answer is correct.
But in-case someone is trying to use immutable class in restcontroller i.e they are using lombok's `@value` then you need to add `lombok.anyConstructor.addConstructorProperties=true`
You can create a file named `lombok.config` in the same location where the root pom.xml is present and add this line into the file
But in-case someone is trying to use immutable class in restcontroller i.e they are using lombok's `@value` then you need to add `lombok.anyConstructor.addConstructorProperties=true`
You can create a file named `lombok.config` in the same location where the root pom.xml is present and add this line into the file
[To see links please register here]