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

GitHub | camelia-c | 9 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola and rafael . 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
    You might have to readd your libraries if you just upgraded intelliJ. Try readding the netty library to the SDK.
    via GitHub by EBatTiVo
  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 | 8 months ago | SergioFernandezStratio
    java.lang.NoClassDefFoundError: org/apache/kafka/clients/producer/Callback

  1. guizmaii 2 times, last 2 weeks ago
  2. johnxfly 3 times, last 1 month ago
  3. jf-ast 1 times, last 2 months ago
  4. jokester 2 times, last 5 months ago
  5. andyglick 1 times, last 5 months ago
10 more registered users
85 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