当我使用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