初学spring security,遇到There is no PasswordEncoder mapped for the id "null"
java.lang.IllegalArgumentException: There is no PasswordEncoder mapped for the id “null”初学spring security,使用简单的入门案例遇到这个错,是因为密码加密的原因。在获取密码是拼接上"{noop}" ,像这个样子"{noop}"+userInfo.getPassword(),可以暂时解决这个问...