1

Why getting java.lang.ClassNotFoundException: com.unboundid.ldap.sdk.LDAPException in SpringBoot even added unboundid-ldapsdk maven dependency in pom.xml

<!-- https://mvnrepository.com/artifact/com.unboundid/unboundid-ldapsdk -->
        <dependency>
            <groupId>com.unboundid</groupId>
            <artifactId>unboundid-ldapsdk</artifactId>
            <version>4.0.10</version>
            <scope>test</scope>
        </dependency>

Can anyone please help me on this?

Krishna
  • 233
  • 2
  • 6
  • 20

1 Answers1

0

Ensure to update the dependency scope from test to provided as per your requirement:

...
<scope>test</scope>
...
Saikat
  • 14,222
  • 20
  • 104
  • 125