java.lang.NoClassDefFoundError: javax/net/SocketFactory

JIRA | Marcos Zolnowski | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    java.net.SocketException: socket failed: EACCES (Permission denied) MongoDB connection

    Stack Overflow | 2 years ago | Bolino
    java.lang.NoClassDefFoundError: java.lang.management.ManagementFactory
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    NoClassDefFoundError and ExceptionInitializeError

    Stack Overflow | 1 month ago | Razoe
    java.lang.NoClassDefFoundError: com/mongodb/connection/ClientMetadataHelper

    2 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.NoClassDefFoundError

      javax/net/SocketFactory

      at com.mongodb.MongoClientOptions$Builder.<init>()
    2. MongoDB Java Driver
      MongoClient.<init>
      1. com.mongodb.MongoClientOptions$Builder.<init>(MongoClientOptions.java:677)
      2. com.mongodb.MongoClient.<init>(MongoClient.java:218)
      2 frames