question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NoClassDefFoundError when upgrading to 16.0

See original GitHub issue

Describe 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:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

4reactions
bbakermancommented, Nov 23, 2020

Thanks for reporting - we will fix this ASAP and get a 16.1 out

1reaction
bbakermancommented, Nov 25, 2020

16.1 has been released

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found