现在的位置: 首页 > 综合 > 正文

ant 警告:sun.misc.BASE64Decoder 是 Sun 的专用 API,可能会在将来版本中删除

2018年05月07日 ⁄ 综合 ⁄ 共 437字 ⁄ 字号 评论关闭

ant 警告:sun.misc.BASE64Decoder 是 Sun 的专用 API,可能会在未来版本中删除

ant 警告:sun.misc.BASE64Decoder 是 Sun 的专用 API,可能会在未来版本中删除

编译时加入bootclasspath="${java.home}/lib/rt.jar" 即可。

<!-- 设置 includeantruntime="on" 或者 includeantruntime="false" Ant是否把它自己的 runtime包含进对 javac任务可见的classpath中 -->
<javac srcdir="${corebasedir}/src;${corebasedir}/patch/spring" destdir="${coreclasses}" includeantruntime="false" bootclasspath="${java.home}/lib/rt.jar">
	<classpath refid="coreclasspath"/>
</javac>

抱歉!评论已关闭.