第一步:配置JDK file->Project Structure->SDKs->+-》Add JDK->选择本地安装的jdk地址-》OK->Apply->OK 第二步:配置maven File->Settings