问题描述:There was an unexpected error (type=Internal Server Error, status=500). There is no PasswordEncoder mapped for the id “null” java.lang.IllegalArgumentException: There is no PasswordEncoder mapped for the id “null”
发送包含用户名和密码的GET请求,在登陆界面输入用户名没问题,但是输入密码后跳转页面报错:There is no PasswordEncoder mapped for the id “null”
这是我的config文件
/**
* security configuration class
*/
@EnableWebSecurity
public class SecurityConfig extends WebSecurityConfigurerAdapter {
@Override
protected void configure(HttpSecurity http) throws Exception{
http.