标签:tar lam targe examples group get pid .so config
当编译报错因为 jdk 引入低于1.5时 加入配置如下即可
方式一
<project>
[...]
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
[...]
</project>
方式二
<project>
[...]
<build>
[...]
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
[...]
</build>
[...]
</project>
链接地址http://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html
标签:tar lam targe examples group get pid .so config
原文地址:https://www.cnblogs.com/gloria-liu/p/10240870.html