0

I have a Gradle project on Java with Lombok module installed. All fields have @Getter/@Setter annotation, and if I click on any of get/set methods, they will lead me to those fields. But whenever I try to run or build project I get an error "cannot find symbol method get/set".

I tried to invalidate cache, didn't help.

enter image description here

Paolo Mossini
  • 1,064
  • 2
  • 15
  • 23
Vadim Popov
  • 49
  • 1
  • 8

1 Answers1

0

In intellij, go to settings -> Build, Execution, Deployment -> Gradle And select Intellij IDEA for both Build and run using: and Run tests using: That solved it for me.

bladefist
  • 148
  • 1
  • 12