如何在JDKj11中导出JavaFX项目

时间:2018-11-20 17:07:05

标签: java javafx export

当我使用JDK 11来制作javafx项目时,我的代码运行良好且运行良好,但是当我尝试导出该项目时,发生以下错误:

(我正在使用IntellIJ IDEA)

Error:Java FX Packager: 
BUILD FAILED
C:\Users\rapph\.IdeaIC2018.2\system\compile-server\calculator_51b9fd91\_temp_\build.xml:3: Problem: failed to create task or type javafx:com.sun.javafx.tools.ant:fileset
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
No types or tasks have been defined in this namespace yet
Total time: 0 seconds

0 个答案:

没有答案