apolloconfig / apollo-quick-start

Apollo Quick Start
691 stars 1.85k forks source link

项目无法启动 ldapContextSource #73

Closed ghost closed 3 years ago

ghost commented 3 years ago

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的有问题 https://github.com/ctripcorp/apollo/issues/3551 说改问题修复了 怎么还是不行