java.lang.NoClassDefFoundError: Failed resolution of: Ljavax/naming/directory/InitialDirContext;

Stack Overflow | user6659392 | 4 months ago
  1. 0

    How to use Smack with Android Studio to network with Openfire XMPP Server

    Stack Overflow | 4 months ago | user6659392
    java.lang.NoClassDefFoundError: Failed resolution of: Ljavax/naming/directory/InitialDirContext;
  2. 0

    android : cannot create connection to openfire

    Stack Overflow | 1 year ago | Chintan Soni
    java.lang.RuntimeException: An error occured while executing doInBackground()
  3. 0

    java.lang.NoClassDefFoundError: Failed resolution of: Ljavax/naming/directory/InitialDirContext;

    Stack Overflow | 1 year ago | Fisher
    java.lang.NoClassDefFoundError: Failed resolution of: Ljavax/naming/directory/InitialDirContext;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android smack 4.1 issue with connection

    Stack Overflow | 2 years ago
    java.lang.NoClassDefFoundError: javax.naming.directory.InitialDirContext

    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

      Failed resolution of: Ljavax/naming/directory/InitialDirContext;

      at org.jivesoftware.smack.util.dns.javax.JavaxResolver.<clinit>()
    2. org.jivesoftware.smack
      JavaxResolver.<clinit>
      1. org.jivesoftware.smack.util.dns.javax.JavaxResolver.<clinit>(JavaxResolver.java:50)
      1 frame
    3. Java RT
      Class.forName
      1. java.lang.Class.classForName(Native Method)
      2. java.lang.Class.forName(Class.java:400)
      2 frames
    4. Smack
      AbstractXMPPConnection.<clinit>
      1. org.jivesoftware.smack.SmackInitialization.loadSmackClass(SmackInitialization.java:213)
      2. org.jivesoftware.smack.SmackInitialization.parseClassesToLoad(SmackInitialization.java:193)
      3. org.jivesoftware.smack.SmackInitialization.processConfigFile(SmackInitialization.java:163)
      4. org.jivesoftware.smack.SmackInitialization.processConfigFile(SmackInitialization.java:148)
      5. org.jivesoftware.smack.SmackInitialization.<clinit>(SmackInitialization.java:116)
      6. org.jivesoftware.smack.SmackConfiguration.getVersion(SmackConfiguration.java:96)
      7. org.jivesoftware.smack.AbstractXMPPConnection.<clinit>(AbstractXMPPConnection.java:97)
      7 frames
    5. com.eg.an_smackandchatclc
      MainActivity.onCreate
      1. com.eg.an_smackandchatclc.MainActivity.onCreate(MainActivity.java:62)
      1 frame
    6. Android Platform
      ActivityThread.handleLaunchActivity
      1. android.app.Activity.performCreate(Activity.java:6658)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2584)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2692)
      4 frames