回顾JDBC踩过的坑:一、Scanner 与 Junit 在InteliJ IDEA 中 在控制台不能输入解决方式:①help =====》Edit Custom VM Options ②加上: -Deditable.java.test.console=true再重启就解决了