org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘securityConfig’ defined in file [D:\code\java\idea\starter\target\classes\com\imooc\uaa\starter\config\SecurityConfig.class]: Unsatisfied dependency expressed through constructor parameter 4; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘LDAPUserRepo’ defined in com.imooc.uaa.starter.security.auth.ldap.LDAPUserRepo defined in @EnableLdapRepositories declared on LdapRepositoriesRegistrar.EnableLdapRepositoriesConfiguration: Cannot resolve reference to bean ‘ldapTemplate’ while setting bean property ‘ldapOperations’; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘ldapTemplate’ defined in class path resource [org/springframework/boot/autoconfigure/ldap/LdapAutoConfiguration.class]: Unsatisfied dependency expressed through method ‘ldapTemplate’ parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘ldapContextSource’ defined in class path resource [org/springframework/boot/autoconfigure/ldap/LdapAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.ldap.core.support.LdapContextSource]: Factory method ‘ldapContextSource’ threw exception; nested exception is java.lang.IllegalAccessError: class org.springframework.ldap.core.support.AbstractContextSource (in unnamed module @0x11438d26) cannot access class com.sun.jndi.ldap.LdapCtxFactory (in module java.naming) because module java.naming does not export com.sun.jndi.ldap to unnamed module @0x11438d26
请老师帮忙诊断下什么问题,启动报错