解决springboot整合security报There is no PasswordEncoder mapped for the id "null"
1、使用springboot(版本2.1.6.RELEASE)整合security(版本2.1.6),出现下面错误的解决方案:java.lang.IllegalArgumentException:ThereisnoPasswordEncodermappedfortheid"null"atorg.springframework.security.crypto.password.DelegatingP