-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
Closed
Labels
area/portalapollo-portalapollo-portalkind/report-problemCategorizes issue when someone report the problem he/she meetedCategorizes issue when someone report the problem he/she meeted
Description
- 我已经检查过discussions
- 我已经搜索过issues
- 我已经仔细检查过FAQ
描述bug
1.8.0 使用ldap时无法启动
复现
通过如下步骤可以复现:
- profile 启用ldap
2021-02-18 14:12:24.582 ERROR 1 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
The bean 'ldapContextSource', defined in class path resource [org/springframework/boot/autoconfigure/ldap/LdapAutoConfiguration.class], could not be registered. A bean with that name has already been defined in class path resource [com/ctrip/framework/apollo/portal/spi/configuration/AuthConfiguration$SpringSecurityLDAPAuthAutoConfiguration.class] and overriding is disabled.
Action:
Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true
期望
正常启动
如果可以,附上截图来描述你的问题
额外的细节和日志
- 版本:1.8.0
Metadata
Metadata
Assignees
Labels
area/portalapollo-portalapollo-portalkind/report-problemCategorizes issue when someone report the problem he/she meetedCategorizes issue when someone report the problem he/she meeted