There is no PasswordEncoder mapped for the id "null" There is no PasswordEncoder mapped for the id "null" 学习了:https://blog.csdn.net/dream_an/article/details/79381459