java.lang.NoClassDefFoundError: org/bson/conversions/Bson

GitHub | camelia-c | 6 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola and poroszd . Or join the community to write better ones.
  1. 0
    samebug tip
    org.apache.http.config.Lookup class is in httpcore-4.3.jar not in httpclient-4.3.1.jar
  2. 0
    samebug tip
    Upgrade play-plugins-redis to play-modules-redis. You may have to delete com.typesafe.plugin.RedisPlugin from play.plugins
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Syslog-ng log destination Kafka: Can't find class

    GitHub | 5 months ago | SergioFernandezStratio
    java.lang.NoClassDefFoundError: org/apache/kafka/clients/producer/Callback

  1. jokester 2 times, last 2 months ago
  2. andyglick 1 times, last 2 months ago
  3. rlovtangen 2 times, last 3 months ago
  4. serious2monkeys 1 times, last 3 months ago
  5. rp 1 times, last 3 months ago
7 more registered users
88 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    org.bson.conversions.Bson

    at java.net.URLClassLoader.findClass()
  2. Java RT
    Class.forName
    1. java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    3. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    5. java.lang.Class.forName0(Native Method)
    6. java.lang.Class.forName(Class.java:348)
    6 frames
  3. Apache Kafka
    AbstractConfig.<init>
    1. org.apache.kafka.common.config.ConfigDef.parseType(ConfigDef.java:663)
    2. org.apache.kafka.common.config.ConfigDef.parse(ConfigDef.java:418)
    3. org.apache.kafka.common.config.AbstractConfig.<init>(AbstractConfig.java:55)
    4. org.apache.kafka.common.config.AbstractConfig.<init>(AbstractConfig.java:62)
    4 frames
  4. org.apache.kafka
    ConnectStandalone.main
    1. org.apache.kafka.connect.runtime.TaskConfig.<init>(TaskConfig.java:52)
    2. org.apache.kafka.connect.runtime.standalone.StandaloneHerder.createConnectorTasks(StandaloneHerder.java:275)
    3. org.apache.kafka.connect.runtime.standalone.StandaloneHerder.updateConnectorTasks(StandaloneHerder.java:308)
    4. org.apache.kafka.connect.runtime.standalone.StandaloneHerder.putConnectorConfig(StandaloneHerder.java:165)
    5. org.apache.kafka.connect.cli.ConnectStandalone.main(ConnectStandalone.java:94)
    5 frames