一、maven配置jdk版本
解决方案一:修改maven的配置(解压目录的conf\setting.xml文件)
<profile>
<id>jdk1.6</id>
<activation>
<activeByDefault>true</activeByDefault>
<jdk>1.6</jdk>
</activation>
<properties>
<!-- want to use the Java 8 language features, Default 1.5 -->
<maven.compiler.source>1.6</maven.compiler.source>
<!-- want the compiled classes to be compatible with JVM 1.8, Default 1.5 -->
<maven.compiler.target>1.6</maven.compiler.target>
<!-- Version of the compiler to use, ex. "1.3", "1.5", if fork is set to true -->
<maven.compiler.compilerVersion>1.6</maven.compiler.compilerVersion>
</properties>
</profile>
idea中
</