Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parameter 3 of method ldapAuthenticationProvider could not be found. #9341

Closed
CamusGao opened this issue Oct 18, 2022 · 0 comments
Closed

Parameter 3 of method ldapAuthenticationProvider could not be found. #9341

CamusGao opened this issue Oct 18, 2022 · 0 comments

Comments

@CamusGao
Copy link

Describe the bug
Error was reported while using LDAP.


APPLICATION FAILED TO START


Description:

Parameter 3 of method ldapAuthenticationProvider in com.alibaba.nacos.plugin.auth.impl.LdapAuthConfig required a bean of type 'java.lang.String' that could not be found.

The injection point has the following annotations:
- @org.springframework.beans.factory.annotation.Autowired(required=true)

Expected behavior
started successfully.

Actually behavior
nacos.core.auth.system.type=ldap was set and the error was reported while starting up nacos.

How to Reproduce
Steps to reproduce the behavior:

  1. nacos.core.auth.system.type=ldap
  2. bin\startup.cmd -m standalone
  3. See errors

Desktop (please complete the following information):

  • OS: Windows server
  • Version: nacos-server 2.1.2
  • Module: ldap
karsonto added a commit to karsonto/nacos that referenced this issue Oct 18, 2022
KomachiSion pushed a commit that referenced this issue Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants