为什么在SpringBoot中获得java.lang.ClassNotFoundException: com.unboundid.ldap.sdk.LDAPException
甚至在pom.xml中添加了unboundid-ldapsdk
maven依赖
<!-- 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>
有人可以帮我吗?