Packaging and Running JavaFX fails
Hello,
Please i need help packaging and running javafx application in IntelliJ IDEA.
I don't know why it looks more difficult using IntelliJ.
i get 3 errors:
`Error:Java FX Packager:
BUILD FAILED
/home/connelblaze/.IdeaIC2017.1/system/compile-server/fxpreloader_d320dc3d/_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: 1 second
Error:Java FX Packager: Buildfile: /home/connelblaze/.IdeaIC2017.1/system/compile-server/fxpreloader_d320dc3d/_temp_/build.xml
[taskdef] Could not load definitions from resource com/sun/javafx/tools/ant/antlib.xml. It could not be found.
build artifact:
Error:Java FX Packager: fx:deploy task has failed.
Please sign in to leave a comment.
Please report at https://youtrack.jetbrains.com/issues/IDEA and attach a sample project to reproduce.
did you end up figuring out how to fix this? I'm having the same issue. I was able to create a fx application perfectly but after I updated from java 10 to 11 this exact error occurs.
I have the same issue when running artifacts: deploy. Java 11 on Linux, Open JavaFX 11 is defined in pom.xml