Reputation: 23247
I'm getting this error message:
Message is:
edu cannot be resolved to a type
I've added lombok.jar
into eclipse
folder and it's detected:
Any ideas?
Upvotes: 2
Views: 1737
Reputation: 1216
Mostly likely your lombok.config contains the following line:
lombok.extern.findbugs.addSuppressFBWarnings=true
The SuppressFBWarnings annotation is located in edu.umd.cs.findbugs.annotations, which is why you are getting that error.
Make sure findbugs is on the classpath as mentioned in the documentation:
Lombok can add the @SuppressFBWarnings annotation which is useful if you want to run FindBugs on your class files. To enable this feature, make sure findbugs is on the classpath when you compile,
It seems you are using gradle, so adding the following should work:
compile group: 'com.google.code.findbugs', name: 'annotations', version: '3.0.1'
https://mvnrepository.com/artifact/com.google.code.findbugs/annotations/3.0.1#gradle
Upvotes: 5