gothinkster / spring-boot-realworld-example-app

Example Spring codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld API spec.
MIT License
1.3k stars 677 forks source link

Fix dependencies to allow docker builds #14

Closed wagnerdk closed 2 years ago

wagnerdk commented 5 years ago

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.

aisensiy commented 2 years ago

This is already done. No matter what thanks for your PR.