-
Notifications
You must be signed in to change notification settings - Fork 746
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.lang.NoClassDefFoundError: com/google/common/util/concurrent/internal/InternalFutureFailureAccess while using the "with-dependencies.jar" #1238
Comments
Same error here
|
Confirmed for me as well. The workaround (adding the missing dependency) works fine, but futureaccess-1.0.1.jar should indeed be part of the |
Also occurs when running the example from the tutorial: https://errorprone.info/docs/installation |
The fix should be a oneliner: #1259 Fwiw:
I have no idea if diffutils, dataflow or javacutils would need to be added as well (other excluded dependencies are either willful, or annotations only –probably only needed at compile-time) |
Fixes #1259, fixes #1238 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=243966733
Add caffeine in with-dependencies JAR, broken after commit google@bfb1789 Similar to https://github.com/google/error-prone/pull/1259/files and google#1238
Add caffeine in with-dependencies JAR, broken after commit google@bfb1789 Similar to https://github.com/google/error-prone/pull/1259/files and google#1238
Add google-java-format in with-dependencies JAR, broken after google@5f71110 Similar to google#1398, google#1259 and google#1238
Description of the problem / feature request:
java.lang.NoClassDefFoundError: com/google/common/util/concurrent/internal/InternalFutureFailureAccess while using the "with-dependencies.jar"
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Run error-prone with the "with-dependencies.jar" (only this is broken)
What version of Error Prone are you using?
2.3.3
Have you found anything relevant by searching the web?
I could workaround the issue while adding the missing "failureaccess" jar (version 1.0.1) from guava to the path, but this should bundled with the with-dependencies.jar. I guess after splitting guava in one on the latest versions this was not added to the "with-dependencies.jar" packager.
The text was updated successfully, but these errors were encountered: