java.lang.NoClassDefFoundError: netscape/ldap/LDAPConnection

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Look if your classpath is correct, and check if the versions of your libraries match the version you described in your pom.xml

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • IDA configuration
    via by 807573,
  • delegated admin log in failure
    via by 807567,
  • Erro ajax4jsf
    via by Fabinn,
  • Error while generating XML in Tomcat
    via by Manish Hatwalne,
  • tomcat 4.0.3 deployment problems
    via by Tim Partridge,
    • java.lang.NoClassDefFoundError: netscape/ldap/LDAPConnection at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:972) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1498) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at sun.comm.cli.server.servlet.commAuth.getAuthDomainFromLogin(commAuth.java:480) at sun.comm.cli.server.servlet.commAuth.getAuthDomainName(commAuth.java:593) at sun.comm.cli.server.servlet.commAuth.getAuthDomainName(commAuth.java:553) at sun.comm.cli.server.servlet.commAuth.execute(commAuth.java:158) at sun.comm.cli.server.servlet.commServlet.doPost(commServlet.java:90) at javax.servlet.http.HttpServlet.service(HttpServlet.java:816) at javax.servlet.http.HttpServlet.service(HttpServlet.java:917) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:255) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556) at com.sun.webserver.connector.nsapi.NSAPIProcessor.service(NSAPIProcessor.java:160)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    142 more bugmates