现象: maven compile时,找不到XXX符号。 原因: jdk版本不匹配。 解决方法: 点击File -》 Project Structure -》Project 、Module中的SDK版本都选择对✅。