NoClassDefFoundError when upgrading to 16.0
See original GitHub issueDescribe the bug When upgrading to 16.0, I get the following error on building my project:
java.lang.NoClassDefFoundError: com/google/common/math/IntMath
at graphql.com.google.common.collect.ImmutableSet.maxRunBeforeFallback(ImmutableSet.java:741)
at graphql.com.google.common.collect.ImmutableSet.access$000(ImmutableSet.java:53)
at graphql.com.google.common.collect.ImmutableSet$RegularSetBuilderImpl.<init>(ImmutableSet.java:762)
at graphql.com.google.common.collect.ImmutableSet.construct(ImmutableSet.java:196)
at graphql.com.google.common.collect.ImmutableSet.copyOf(ImmutableSet.java:236)
at graphql.schema.GraphQLSchema.<init>(GraphQLSchema.java:116)
at graphql.schema.GraphQLSchema.<init>(GraphQLSchema.java:47)
at graphql.schema.GraphQLSchema$Builder.buildImpl(GraphQLSchema.java:640)
at graphql.schema.GraphQLSchema$Builder.build(GraphQLSchema.java:622)
It’s referring to the shaded guava classes, so I assume the issues is with https://github.com/graphql-java/graphql-java/pull/2086
To Reproduce No sure how to reproduce it, as I am not sure what is the cause. It must be some combination of things I am using.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (6 by maintainers)
Top Results From Across the Web
How can I solve "java.lang.NoClassDefFoundError"?
The NoClassDefFoundError indicates that the classloader (in this case java.net.URLClassLoader ), which is responsible for dynamically loading classes, ...
Read more >3 ways to solve java.lang.NoClassDefFoundError in Java J2EE
NoClassDefFoundError in Java comes when Java Virtual Machine is not able to find a particular class at runtime which was available at compile...
Read more >"NoClassDefFoundError" on updating of Kotlin JVM from 1.5 ...
I got java.lang.NoClassDefFoundError: com/intellij/openapi/util/SystemInfoRt at com.intellij.openapi.application.PathManager.
Read more >Error while installing Toolbox (java.lang.NoClassDefFoundError)
I am trying to install a trial of the Image Acquisition Toolbox, but keep getting an error on ~90%. Apparently it has something...
Read more >install problem olite NoClassDefFoundError: javax/activation ...
<2004-12-11 16:22:45,959> <ERROR> <default.collaxa.cube> <ServerManager::handleInitException> Error while initializing java class "javax/activation/DataSource".
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for reporting - we will fix this ASAP and get a 16.1 out
16.1 has been released