java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/Module

See original GitHub issue

am trying to create a spigot plug in with a built-in twitchbot, and am trying to enable helix. and am getting a NoClassDefFoundError for jackson databind. ive tried using diffrent versions of com.fasterxml.jackson.core as well as creating a standalone TwitchHelix Instance. but nothing seems to work

java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/Module at com.github.twitch4j.helix.TwitchHelixBuilder.build(TwitchHelixBuilder.java:140)
client = TwitchClientBuilder
                .builder()
                .withClientId("<CLIENTID>")
                .withClientSecret("<CLIENTSECRET>")
                .withChatAccount(<CREDENTIAL>)
                .withEnableChat(true)
                .withEnablePubSub(true)
                .withEnableHelix(true)
                .build();

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Rebble69commented, Feb 5, 2022

that seems to work. thank you all!

1reaction
PhilippHeuercommented, Feb 1, 2022

Your jar is most likely missing dependencies.

We have a example minecraft plugin here, maybe this is useful to you: https://github.com/twitch4j/twitch4j-minecraft-plugin Specifially this part in the buildscript which is used to build a fatJar (jar with all used dependencies): https://github.com/twitch4j/twitch4j-minecraft-plugin/blob/main/build.gradle#L40-L46

Read more comments on GitHub >

github_iconTop Results From Across the Web

com/fasterxml/jackson/databind/Module in spring starter ...
"NoClassDefFoundError" mean that that class was present when that part of the code was compiled, but isn't present at runtime. – Thorbjørn Ravn ......
Read more >
com/fasterxml/jackson/databind/Module at runtime · Issue #43 ...
ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) Caused by: java.lang.ClassNotFoundException: com.fasterxml.jackson.databind.Module ...
Read more >
com/fasterxml/jackson/annotation/JsonMerge - Mkyong.com
Run a Jackson related project and hits the following JsonMerge not found error. Console. java.lang.NoClassDefFoundError: com/fasterxml/jackson/ ...
Read more >
com/fasterxml/jackson/databind/PropertyNamingStrategies
I get the error java.util.concurrent.CompletionException: java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/PropertyNamingStrategies
Read more >
NoClassDefFoundDeserializer (jackson-databind 2.5.0 API)
A deserializer that stores a NoClassDefFoundError error and throws the stored exception when attempting to deserialize a value. Null and empty values can...
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