spring-bootlombokconfigurationproperties

ConfigurationProperties not working with @Getter and @Setter


I am trying to use @ConfigurationProperties with lombok @Getter and @Setter.

If I manually define the getters and setters everything works fine. If I remove the actual getters and setters and add @Getter and @Setter spring cannot find any of the getters and setters.

Any ideas what I might be missing?


Solution

  • I was able to resolve this issue by following the instructions at: https://projectlombok.org/setup/eclipse