Griffon: running 'gradle build' - Execution failed for task ': jfxJar'

I am working on setting up a Griffon project on a clean install of OS X 10.9.4. I followed the instructions in the Griffon Guide: http://new.griffon-framework.org/guide/latest/ .

I successfully created a project using this lazybones command:

lazybones create griffon-javafx-groovy myApp 

The myApp project myApp was successfully created using Griffon 2.0.0.RC2. Starting gradle run works and displays an example application window. However, starting gradle build ends with completion using this message:

 :jfxJar FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':jfxJar'. > com/oracle/tools/packager/Log 

What could be the reason for this? It does not seem to find the JavaFX package. I believe that everything, including JDK8, is installed in the default locations. Let me know if additional information is needed.

Currently running:

 Lazybones: 0.7.1 Gradle: 2.0 Groovy: 2.3.3 JVM: 1.8.0_11 OS: Mac OS X 10.9.4 x86_64 
+6
source share
1 answer

I was able to reproduce the problem with the same setting. Then I tried again with the JDK 8u20, and the build was successful. I assume that some parts are missing in 8u11 since there is nothing on the Griffon side, which changes the class path used for JFX packaging operations. In addition, 8u20 is more stable than 8u11.

+4
source

Source: https://habr.com/ru/post/974592/


All Articles