文章目录 1.项目设置2.编译设置3.pom编译设置 1.项目设置 2.编译设置 3.pom编译设置 添加plugin <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.8</source> <target>1.8</target> </configuration> </plugin>