首页 > 其他 > 详细

未与 -source 1.6 一起设置引导类路径

时间:2014-10-24 18:26:43      阅读:4562      评论:0      收藏:0      [点我收藏+]

bootstrap class path not set in conjunction with -source 1.6

未与 -source 1.6 一起设置引导类路径

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.2</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
<compilerArgument>-Xlint:all</compilerArgument>
<showWarnings>true</showWarnings>
<showDeprecation>true</showDeprecation>
<encoding>UTF-8</encoding>
</configuration>
</plugin>

把红色部分都设置成1.7

未与 -source 1.6 一起设置引导类路径

原文:http://www.cnblogs.com/javaleon/p/4048233.html

(1)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!