apolloconfig / apollo-quick-start

Apollo Quick Start

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

项目无法启动 ldapContextSource

Lliuxs opened this issue · comments

commented

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 @0xcd2dae5) 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 @0xcd2dae5

git clone的代码无法正常启动
查看appllo仓库的issue说是1.8.0的有问题
apolloconfig/apollo#3551 说改问题修复了 怎么还是不行