c0ol_jie 2016-03-18 07:21 采纳率: 33.3%
浏览 2768

JavaFX 部署 运行出错

刚学JavaFX 跟着教程 一步一步往下做, 到部署的时候
右键bulid.xml文件, Run as ==> Ant build 报错

谁知道可能是什么原因吗?

init-fx-tasks:
[taskdef] Could not load definitions from resource com/sun/javafx/tools/ant/antlib.xml. It could not be found.
do-deploy:
[copy] Copying 3 files to D:\MyWork\git\git-demo\pack_fx\build\dist\libs

BUILD FAILED
D:\MyWork\git\git-demo\pack_fx\build\build.xml:116: Problem: failed to create task or type javafx:com.sun.javafx.tools.ant:resources
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any / declarations have taken place.
No types or tasks have been defined in this namespace yet

图片说明

  • 写回答

1条回答

  • devmiao 2016-03-18 14:45
    关注
    评论

报告相同问题?

悬赏问题

  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器