IDEA解决Fatal error compiling: 错误: 无效的目标发行版:1.11 -> [Help 1]

IDEA解决Fatal error compiling: 错误: 无效的目标发行版:1.11 -> [Help 1]

请问如何解决?

单从提供的问题来看是否是打包时,JDK版本的问题?
通过指定版本信息可能可以解决该问题。

<plugin>
  <artifactId>maven-compiler-plugin</artifactId>
  <configuration>
    <source>${maven.compiler.source}</source>
    <target>${maven.compiler.target}</target>
    <compilerArguments>
      <bootclasspath>${java.home}/lib/rt.jar</bootclasspath>
    </compilerArguments>
    <encoding>${project.build.sourceEncoding}</encoding>
  </configuration>
</plugin>

如未解决,我可远程帮处理