摘要:
因为Spring-Security从4+升级到5+,导致There is no PasswordEncoder mapped for the id “null”错误。 解决方案: 1.可在密码验证类中添加 @Bean public static NoOpPasswordEncoder passwor 阅读全文
摘要:
import java.util.Scanner; public class ScannerTest { public static void main(String[] args) { //身高未知,采用键盘录入实现。首先导包,然后创建对象。 Scanner sc = new Scanner(Sy 阅读全文