为什么要“得到”;java.lang.ClassNotFoundException:com.unbounded.ldap.sdk.LDAPException“;在SpringBoot中
为什么在SpringBoot中获取为什么要“得到”;java.lang.ClassNotFoundException:com.unbounded.ldap.sdk.LDAPException“;在SpringBoot中,java,spring-boot,unboundid-ldap-sdk,Java,Spring Boot,Unboundid Ldap Sdk,为什么在SpringBoot中获取java.lang.ClassNotFoundException:com.unbounded.ldap.sdk.LDAPException甚至在pom.xml中添加了unbound ldapsdkmaven依赖项 <!-- https://mvnrepository.com/artifact/com.unboundid/unboundid-ldapsdk --> <dependency> <g
java.lang.ClassNotFoundException:com.unbounded.ldap.sdk.LDAPException
甚至在pom.xml中添加了unbound 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>
com.unbounded
未绑定ldapsdk
4.0.10
测试
有人能帮我吗?你能在maven依赖项部分看到
unbounded-ldapsdk
jar吗?是的,我能在maven依赖项部分看到unbounded-ldapsdk-4.0.10.jar
。谢谢@Ashishkumar SinghDo您使用它进行单元测试吗?不,当启动应用程序时出现上述错误。感谢@Sachith dickwallary changing test to provided您能在maven dependencies部分看到unbounded-ldapsdk
jar吗?是的,我能在maven dependencies部分看到unbounded-ldapsdk-4.0.10.jar
。谢谢@Ashishkumar SinghDo您使用它进行单元测试吗?不,当启动应用程序时出现上述错误。感谢@Sachith Dickwellary变更测试提供