1 Reply Latest reply: May 20, 2014 1:37 AM by vinaykumar2 RSS

    LDAP Connection: FAILED javax.naming.NoInitialContextException:

    vinaykumar2

      LDAP Connection: FAILED

      javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.jndi.ldap.LdapCtxFactory; [Root exception is java.lang.ClassNotFoundException: com/sun/jndi/ldap/LdapCtxFactory;]

       

       

      I am trying to connect to ldap using

       

      LDAP Query: Retrieve Basic User Attributes in Java | DeepakGaikwad.net

       

      I am getting this error.How to resolve.