JavaFX + Gradle - Build cannot find resources











up vote
0
down vote

favorite












I'm using FibreFox JavaFX plugin for Gradle and when I build and try call my Launcher class, it gives this error:



Exception in Application start method
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:473)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:372)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at java.base/sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:945)
Caused by: java.lang.RuntimeException: Exception in Application start method
at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:973)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:198)
at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.lang.NullPointerException: inputStream is null.
at javafx.fxml/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2480)
at javafx.fxml/javafx.fxml.FXMLLoader.load(FXMLLoader.java:2450)
at team.puffin.agileproject.SceneLoader.loadScene(SceneLoader.java:24)
at team.puffin.agileproject.Launcher.start(Launcher.java:27)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:919)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$11(PlatformImpl.java:449)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$9(PlatformImpl.java:418)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:417)
at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
Exception running application team.puffin.agileproject.Launcher


The relevant code are:



build.gradle



    group 'puffin'
version '1.0-SNAPSHOT'

apply plugin: 'java'
apply plugin: 'javafx-gradle-plugin'

sourceCompatibility = 1.8

sourceSets.main {
java {
srcDir 'src/main/java' //assume that your source codes are inside this path
}
resources {
srcDirs = ['src/main/java', 'src/main/resources']
exclude "**/*.java"
}
}

buildscript {
dependencies {
classpath group: 'de.dynamicfiles.projects.gradle.plugins', name: 'javafx-gradle-plugin', version: '8.8.2'
}
repositories {
mavenLocal()
mavenCentral()
}
}

repositories {
mavenCentral()
mavenLocal()
}

dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
}

jfx {
verbose = true;
jfxAppOutputDir = "build/jfx/app"
jfxMainAppJarName = "project-jfx.jar"
// minimal requirement for jfxJar-task
mainClass = 'team.puffin.agileproject.Launcher'

// minimal requirement for jfxNative-task
vendor = 'TeamPuffin'

// gradle jfxJar
css2bin = false
preLoader = null // String
updateExistingJar = false
allPermissions = false
manifestAttributes = null // Map<String, String>
addPackagerJar = true
copyAdditionalAppResourcesToJar = false
skipCopyingDependencies = false
useLibFolderContentForManifestClasspath = false
fixedManifestClasspath = null
}


Launcher.java start method



    public void start(Stage primaryStage) throws Exception {
// Setup stage properties
primaryStage.setWidth(WIDTH);
primaryStage.setHeight(HEIGHT);
primaryStage.setResizable(false);
centerScreen(primaryStage);

// Loading initial scene
sceneLoader = new SceneLoader(primaryStage);
NodeControllerPair nodeController = sceneLoader.loadScene("home.fxml");
Scene scene = new Scene((Parent) nodeController.getNode());
primaryStage.setScene(scene);

// Display stage
primaryStage.show();
}


Scene Loader method



    public NodeControllerPair loadScene(String name) {
FXMLLoader loader = new FXMLLoader();
Node node = null;
Object controller = null;
try {
node = loader.load(getClass().getResourceAsStream(name));
controller = loader.getController();
} catch (IOException e) {
e.printStackTrace();
}
NodeControllerPair nodeControllerPair = new NodeControllerPair(node, controller);
return nodeControllerPair;
}


I'm also using IntelliJ and have it setup as a Gradle project but I don't think it's building as one because it's producing an out folder. It does however work in IntelliJ but the requirements for this project state I must use Gradle.



I've looked at others posts regarding this problem and have tried the solutions but they didn't work.



Project directory










share|improve this question
























  • JavaFX isn't part of the JavaSE since JDK-11. The FibreFox-Plugin only works with JDK-8. Follow these instructions with the application plugin for gradle to add JavaFX as jigsaw module: openjfx.io/openjfx-docs/#gradle This one works well for me.
    – Olof Kohlhaas
    Nov 11 at 17:18















up vote
0
down vote

favorite












I'm using FibreFox JavaFX plugin for Gradle and when I build and try call my Launcher class, it gives this error:



Exception in Application start method
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:473)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:372)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at java.base/sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:945)
Caused by: java.lang.RuntimeException: Exception in Application start method
at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:973)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:198)
at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.lang.NullPointerException: inputStream is null.
at javafx.fxml/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2480)
at javafx.fxml/javafx.fxml.FXMLLoader.load(FXMLLoader.java:2450)
at team.puffin.agileproject.SceneLoader.loadScene(SceneLoader.java:24)
at team.puffin.agileproject.Launcher.start(Launcher.java:27)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:919)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$11(PlatformImpl.java:449)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$9(PlatformImpl.java:418)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:417)
at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
Exception running application team.puffin.agileproject.Launcher


The relevant code are:



build.gradle



    group 'puffin'
version '1.0-SNAPSHOT'

apply plugin: 'java'
apply plugin: 'javafx-gradle-plugin'

sourceCompatibility = 1.8

sourceSets.main {
java {
srcDir 'src/main/java' //assume that your source codes are inside this path
}
resources {
srcDirs = ['src/main/java', 'src/main/resources']
exclude "**/*.java"
}
}

buildscript {
dependencies {
classpath group: 'de.dynamicfiles.projects.gradle.plugins', name: 'javafx-gradle-plugin', version: '8.8.2'
}
repositories {
mavenLocal()
mavenCentral()
}
}

repositories {
mavenCentral()
mavenLocal()
}

dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
}

jfx {
verbose = true;
jfxAppOutputDir = "build/jfx/app"
jfxMainAppJarName = "project-jfx.jar"
// minimal requirement for jfxJar-task
mainClass = 'team.puffin.agileproject.Launcher'

// minimal requirement for jfxNative-task
vendor = 'TeamPuffin'

// gradle jfxJar
css2bin = false
preLoader = null // String
updateExistingJar = false
allPermissions = false
manifestAttributes = null // Map<String, String>
addPackagerJar = true
copyAdditionalAppResourcesToJar = false
skipCopyingDependencies = false
useLibFolderContentForManifestClasspath = false
fixedManifestClasspath = null
}


Launcher.java start method



    public void start(Stage primaryStage) throws Exception {
// Setup stage properties
primaryStage.setWidth(WIDTH);
primaryStage.setHeight(HEIGHT);
primaryStage.setResizable(false);
centerScreen(primaryStage);

// Loading initial scene
sceneLoader = new SceneLoader(primaryStage);
NodeControllerPair nodeController = sceneLoader.loadScene("home.fxml");
Scene scene = new Scene((Parent) nodeController.getNode());
primaryStage.setScene(scene);

// Display stage
primaryStage.show();
}


Scene Loader method



    public NodeControllerPair loadScene(String name) {
FXMLLoader loader = new FXMLLoader();
Node node = null;
Object controller = null;
try {
node = loader.load(getClass().getResourceAsStream(name));
controller = loader.getController();
} catch (IOException e) {
e.printStackTrace();
}
NodeControllerPair nodeControllerPair = new NodeControllerPair(node, controller);
return nodeControllerPair;
}


I'm also using IntelliJ and have it setup as a Gradle project but I don't think it's building as one because it's producing an out folder. It does however work in IntelliJ but the requirements for this project state I must use Gradle.



I've looked at others posts regarding this problem and have tried the solutions but they didn't work.



Project directory










share|improve this question
























  • JavaFX isn't part of the JavaSE since JDK-11. The FibreFox-Plugin only works with JDK-8. Follow these instructions with the application plugin for gradle to add JavaFX as jigsaw module: openjfx.io/openjfx-docs/#gradle This one works well for me.
    – Olof Kohlhaas
    Nov 11 at 17:18













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I'm using FibreFox JavaFX plugin for Gradle and when I build and try call my Launcher class, it gives this error:



Exception in Application start method
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:473)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:372)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at java.base/sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:945)
Caused by: java.lang.RuntimeException: Exception in Application start method
at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:973)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:198)
at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.lang.NullPointerException: inputStream is null.
at javafx.fxml/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2480)
at javafx.fxml/javafx.fxml.FXMLLoader.load(FXMLLoader.java:2450)
at team.puffin.agileproject.SceneLoader.loadScene(SceneLoader.java:24)
at team.puffin.agileproject.Launcher.start(Launcher.java:27)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:919)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$11(PlatformImpl.java:449)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$9(PlatformImpl.java:418)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:417)
at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
Exception running application team.puffin.agileproject.Launcher


The relevant code are:



build.gradle



    group 'puffin'
version '1.0-SNAPSHOT'

apply plugin: 'java'
apply plugin: 'javafx-gradle-plugin'

sourceCompatibility = 1.8

sourceSets.main {
java {
srcDir 'src/main/java' //assume that your source codes are inside this path
}
resources {
srcDirs = ['src/main/java', 'src/main/resources']
exclude "**/*.java"
}
}

buildscript {
dependencies {
classpath group: 'de.dynamicfiles.projects.gradle.plugins', name: 'javafx-gradle-plugin', version: '8.8.2'
}
repositories {
mavenLocal()
mavenCentral()
}
}

repositories {
mavenCentral()
mavenLocal()
}

dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
}

jfx {
verbose = true;
jfxAppOutputDir = "build/jfx/app"
jfxMainAppJarName = "project-jfx.jar"
// minimal requirement for jfxJar-task
mainClass = 'team.puffin.agileproject.Launcher'

// minimal requirement for jfxNative-task
vendor = 'TeamPuffin'

// gradle jfxJar
css2bin = false
preLoader = null // String
updateExistingJar = false
allPermissions = false
manifestAttributes = null // Map<String, String>
addPackagerJar = true
copyAdditionalAppResourcesToJar = false
skipCopyingDependencies = false
useLibFolderContentForManifestClasspath = false
fixedManifestClasspath = null
}


Launcher.java start method



    public void start(Stage primaryStage) throws Exception {
// Setup stage properties
primaryStage.setWidth(WIDTH);
primaryStage.setHeight(HEIGHT);
primaryStage.setResizable(false);
centerScreen(primaryStage);

// Loading initial scene
sceneLoader = new SceneLoader(primaryStage);
NodeControllerPair nodeController = sceneLoader.loadScene("home.fxml");
Scene scene = new Scene((Parent) nodeController.getNode());
primaryStage.setScene(scene);

// Display stage
primaryStage.show();
}


Scene Loader method



    public NodeControllerPair loadScene(String name) {
FXMLLoader loader = new FXMLLoader();
Node node = null;
Object controller = null;
try {
node = loader.load(getClass().getResourceAsStream(name));
controller = loader.getController();
} catch (IOException e) {
e.printStackTrace();
}
NodeControllerPair nodeControllerPair = new NodeControllerPair(node, controller);
return nodeControllerPair;
}


I'm also using IntelliJ and have it setup as a Gradle project but I don't think it's building as one because it's producing an out folder. It does however work in IntelliJ but the requirements for this project state I must use Gradle.



I've looked at others posts regarding this problem and have tried the solutions but they didn't work.



Project directory










share|improve this question















I'm using FibreFox JavaFX plugin for Gradle and when I build and try call my Launcher class, it gives this error:



Exception in Application start method
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:473)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:372)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at java.base/sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:945)
Caused by: java.lang.RuntimeException: Exception in Application start method
at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:973)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:198)
at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.lang.NullPointerException: inputStream is null.
at javafx.fxml/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2480)
at javafx.fxml/javafx.fxml.FXMLLoader.load(FXMLLoader.java:2450)
at team.puffin.agileproject.SceneLoader.loadScene(SceneLoader.java:24)
at team.puffin.agileproject.Launcher.start(Launcher.java:27)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:919)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$11(PlatformImpl.java:449)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$9(PlatformImpl.java:418)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:417)
at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
Exception running application team.puffin.agileproject.Launcher


The relevant code are:



build.gradle



    group 'puffin'
version '1.0-SNAPSHOT'

apply plugin: 'java'
apply plugin: 'javafx-gradle-plugin'

sourceCompatibility = 1.8

sourceSets.main {
java {
srcDir 'src/main/java' //assume that your source codes are inside this path
}
resources {
srcDirs = ['src/main/java', 'src/main/resources']
exclude "**/*.java"
}
}

buildscript {
dependencies {
classpath group: 'de.dynamicfiles.projects.gradle.plugins', name: 'javafx-gradle-plugin', version: '8.8.2'
}
repositories {
mavenLocal()
mavenCentral()
}
}

repositories {
mavenCentral()
mavenLocal()
}

dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
}

jfx {
verbose = true;
jfxAppOutputDir = "build/jfx/app"
jfxMainAppJarName = "project-jfx.jar"
// minimal requirement for jfxJar-task
mainClass = 'team.puffin.agileproject.Launcher'

// minimal requirement for jfxNative-task
vendor = 'TeamPuffin'

// gradle jfxJar
css2bin = false
preLoader = null // String
updateExistingJar = false
allPermissions = false
manifestAttributes = null // Map<String, String>
addPackagerJar = true
copyAdditionalAppResourcesToJar = false
skipCopyingDependencies = false
useLibFolderContentForManifestClasspath = false
fixedManifestClasspath = null
}


Launcher.java start method



    public void start(Stage primaryStage) throws Exception {
// Setup stage properties
primaryStage.setWidth(WIDTH);
primaryStage.setHeight(HEIGHT);
primaryStage.setResizable(false);
centerScreen(primaryStage);

// Loading initial scene
sceneLoader = new SceneLoader(primaryStage);
NodeControllerPair nodeController = sceneLoader.loadScene("home.fxml");
Scene scene = new Scene((Parent) nodeController.getNode());
primaryStage.setScene(scene);

// Display stage
primaryStage.show();
}


Scene Loader method



    public NodeControllerPair loadScene(String name) {
FXMLLoader loader = new FXMLLoader();
Node node = null;
Object controller = null;
try {
node = loader.load(getClass().getResourceAsStream(name));
controller = loader.getController();
} catch (IOException e) {
e.printStackTrace();
}
NodeControllerPair nodeControllerPair = new NodeControllerPair(node, controller);
return nodeControllerPair;
}


I'm also using IntelliJ and have it setup as a Gradle project but I don't think it's building as one because it's producing an out folder. It does however work in IntelliJ but the requirements for this project state I must use Gradle.



I've looked at others posts regarding this problem and have tried the solutions but they didn't work.



Project directory







java gradle javafx






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 10 at 23:06









fabian

49.1k114968




49.1k114968










asked Nov 10 at 22:34









devinprogress

184




184












  • JavaFX isn't part of the JavaSE since JDK-11. The FibreFox-Plugin only works with JDK-8. Follow these instructions with the application plugin for gradle to add JavaFX as jigsaw module: openjfx.io/openjfx-docs/#gradle This one works well for me.
    – Olof Kohlhaas
    Nov 11 at 17:18


















  • JavaFX isn't part of the JavaSE since JDK-11. The FibreFox-Plugin only works with JDK-8. Follow these instructions with the application plugin for gradle to add JavaFX as jigsaw module: openjfx.io/openjfx-docs/#gradle This one works well for me.
    – Olof Kohlhaas
    Nov 11 at 17:18
















JavaFX isn't part of the JavaSE since JDK-11. The FibreFox-Plugin only works with JDK-8. Follow these instructions with the application plugin for gradle to add JavaFX as jigsaw module: openjfx.io/openjfx-docs/#gradle This one works well for me.
– Olof Kohlhaas
Nov 11 at 17:18




JavaFX isn't part of the JavaSE since JDK-11. The FibreFox-Plugin only works with JDK-8. Follow these instructions with the application plugin for gradle to add JavaFX as jigsaw module: openjfx.io/openjfx-docs/#gradle This one works well for me.
– Olof Kohlhaas
Nov 11 at 17:18

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53244094%2fjavafx-gradle-build-cannot-find-resources%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53244094%2fjavafx-gradle-build-cannot-find-resources%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Coverage of Google Street View

Full-time equivalent

Surfing