There are errors while building the container. The Gradle build does not work because the getters and setters generated by Lombok are not recognized in the build process. For example:
The method getId() is not found in User. The class user does not feature the method but it is annotated with @Getter. Therefore, such a method should exist.
How does this fix work
To generate the getters and setters Lombok needs step in the build process and handle the annotations like @Getter. This PR adds the missing annotation processor and follows the Lombok documentation.
Expected behavior
The docker build should run without errors.
Actual behavior
There are errors while building the container. The Gradle build does not work because the getters and setters generated by Lombok are not recognized in the build process. For example: The method getId() is not found in User. The class user does not feature the method but it is annotated with @Getter. Therefore, such a method should exist.
How does this fix work
To generate the getters and setters Lombok needs step in the build process and handle the annotations like @Getter. This PR adds the missing annotation processor and follows the Lombok documentation.