使用IntelliJ IDEA编译工程时报错,信息如下:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project [project name]: Fatal error compiling: 无效的目标发行版: 1.8 -> [Help 1]
File -> Other Settings -> Default Settings | Default Project Structure

