<target name="compile" depends="init">
<javac srcdir="${src}" destdir="${dest}" />
</target>

修改为

<target name="compile" depends="init">
<javac srcdir="${src}" destdir="${dest}" includeantruntime="on" />
</target>

也就是添加 includeantruntime="on"

相关文章:

  • 2022-12-23
  • 2021-09-30
  • 2022-12-23
  • 2021-12-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-16
猜你喜欢
  • 2021-08-17
  • 2022-12-23
  • 2022-12-23
  • 2021-08-27
  • 2022-01-02
  • 2021-09-15
  • 2021-06-10
相关资源
相似解决方案