Spring Security 5 报错There is no PasswordEncoder mapped for the id "null"根本解决

NoSuchKey