Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by user6659392
, 1 year ago
Failed resolution of: Ljavax/naming/directory/InitialDirContext;
via Stack Overflow by Jaspreet Chhabra
, 1 year ago
Failed resolution of: Ljavax/naming/directory/InitialDirContext;
via Stack Overflow by Czar
, 1 year ago
Failed resolution of: Ljavax/naming/directory/InitialDirContext;
via Stack Overflow by Fisher
, 2 years ago
Failed resolution of: Ljavax/naming/directory/InitialDirContext;
via Stack Overflow by Chintan Soni
, 2 years ago
Failed resolution of: Ljavax/naming/directory/InitialDirContext;
java.lang.NoClassDefFoundError: Failed resolution of: Ljavax/naming/directory/InitialDirContext; at org.jivesoftware.smack.util.dns.javax.JavaxResolver.<clinit>(JavaxResolver.java:50) at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:400) at org.jivesoftware.smack.SmackInitialization.loadSmackClass(SmackInitialization.java:213) at org.jivesoftware.smack.SmackInitialization.parseClassesToLoad(SmackInitialization.java:193) at org.jivesoftware.smack.SmackInitialization.processConfigFile(SmackInitialization.java:163) at org.jivesoftware.smack.SmackInitialization.processConfigFile(SmackInitialization.java:148) at org.jivesoftware.smack.SmackInitialization.<clinit>(SmackInitialization.java:116) at org.jivesoftware.smack.SmackConfiguration.getVersion(SmackConfiguration.java:96) at org.jivesoftware.smack.AbstractXMPPConnection.<clinit>(AbstractXMPPConnection.java:97) at com.eg.an_smackandchatclc.MainActivity.onCreate(MainActivity.java:62) at android.app.Activity.performCreate(Activity.java:6658) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2584) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2692)