SpringSecurity报错There is no PasswordEncoder mapped for the id "null"

新建一个这个类,重写里面的encode和matches方法

并在配置里面加上这个

报错解决!

猜你喜欢

转载自blog.csdn.net/zhousw1999/article/details/85078519