I have following dependency in pom.xml:
org.projectlombok lombok
Solved the issue by upgrading lombok version from 1.16.18 to 1.16.22 . I suspect any compatible version higher than .22 might do the trick.