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

Oracle Community | 666705 | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    ClassLoader cannot find "com.sun.jndi.ldap.LdapCtxFactory" in WebLogic9.2

    Oracle Community | 1 decade ago | 666705
    javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.jndi.ldap.LdapCxtFactory [Root exception is java.lang.ClassNotFoundException: com.sun.jndi.ldap.LdapCxtFactory]
  2. 0

    ClassLoader cannot find "com.sun.jndi.ldap.LdapCxtFactory" in Weblogic

    Oracle Community | 1 decade ago | 666705
    javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.jndi.ldap.LdapCxtFactory [Root exception is java.lang.ClassNotFoundException: com.sun.jndi.ldap.LdapCxtFactory]

    Root Cause Analysis

    1. javax.naming.NoInitialContextException

      Cannot instantiate class: com.sun.jndi.ldap.LdapCxtFactory [Root exception is java.lang.ClassNotFoundException: com.sun.jndi.ldap.LdapCxtFactory]

      at javax.naming.spi.NamingManager.getInitialContext()
    2. Java RT
      InitialLdapContext.<init>
      1. javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
      2. javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
      3. javax.naming.InitialContext.init(InitialContext.java:223)
      4. javax.naming.ldap.InitialLdapContext.<init>(InitialLdapContext.java:134)
      4 frames