Trying to upgrade guava from version 19 to 20 and getting this error:
Error:java: cannot access com.google.errorprone.annotations.CanIgnoreReturnValue
class file for com.google.errorprone.annotations.CanIgnoreReturnValue not found
Any ideas how to fix it? I don't have any references to errorprone in my project.
Adding dependency to errorprone
like below doesn't help:
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_annotations</artifactId>
Solved by adding errorprone dependency manually:
<dependency>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_annotations</artifactId>
<version>2.0.12</version>
</dependency>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With