说明:springboot2.x需要jdk1.8+的环境 1.MAVEN项目的jdk版本 a)选择jdk版本 b)建成一个project之后修改此工程的java compiler。找到file>>settings c)修改project structure。 file>>settings