javax.naming.NoInitialContextException: Cannot instantiate class: com.netscape.jndi.ldap.LdapContextFactory [Root exception is java.lang.ClassNotFoundException: com/netscape/jndi/ldap/LdapContextFactory ]]] at weblogic.security.ldaprealm.LDAPDelegate.getContext (LDAPDelegate.java:212) at weblogic.security.ldaprealm.LDAPDelegate.lookup (LDAPDelegate.java:232) at weblogic.security.ldaprealm.LDAPDelegate.search (LDAPDelegate.java:345)

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 Oracle Community by 3004, 1 year ago
Cannot instantiate class: com.netscape.jndi.ldap.LdapContextFactory [Root exception is java.lang.ClassNotFoundException: com/netscape/jndi/ldap/LdapContextFactory ]]] at weblogic.security.ldaprealm.LDAPDelegate.getContext (LDAPDelegate.java:212
javax.naming.NoInitialContextException: Cannot instantiate class: com.netscape.jndi.ldap.LdapContextFactory [Root exception is java.lang.ClassNotFoundException: com/netscape/jndi/ldap/LdapContextFactory ]]] at weblogic.security.ldaprealm.LDAPDelegate.getContext (LDAPDelegate.java:212) at weblogic.security.ldaprealm.LDAPDelegate.lookup (LDAPDelegate.java:232) at weblogic.security.ldaprealm.LDAPDelegate.search (LDAPDelegate.java:345)
at weblogic.security.ldaprealm.LDAPDelegate.search(LDAPDelegate.java:354)
at weblogic.security.ldaprealm.LDAPDelegate.getGroupMembers(LDAPDelegate.java:553)
at weblogic.security.ldaprealm.LDAPDelegate.getGroup(LDAPDelegate.java:539)
at weblogic.security.ldaprealm.LDAPDelegate.getGroup(LDAPDelegate.java:527)
at weblogic.security.ldaprealm.LDAPRealm.getGroup(LDAPRealm.java:75)
at weblogic.security.acl.CachingRealm.getGroup(CachingRealm.java:1420)
at weblogic.security.acl.CachingRealm.getPrincipal(CachingRealm.java:1020)
at weblogic.security.acl.CachingRealm.addPermission(CachingRealm.java:813)
at weblogic.security.acl.CachingRealm.setupAcls(CachingRealm.java:802)
at weblogic.security.acl.CachingRealm.(CachingRealm.java:706)
at weblogic.security.acl.CachingRealm.(CachingRealm.java:564)
at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1750)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1086)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.