javafx-gradle-plugin
javafx-gradle-plugin copied to clipboard
NoClassDefFoundError: javafx/application/Application
Hi there. I'm getting an NoClassDefFoundError: javafx/application/Application exception being thrown.
My build.gradle is here
plugins {
id 'java'
//id 'application'
id 'org.openjfx.javafxplugin' version '0.0.13'
}
repositories {
mavenCentral()
}
/*application {
mainModule = 'com.playarcanum.workzone.client.gui'
mainClass = 'com.playarcanum.workzone.client.gui.WorkzoneGUI'
}*/
javafx {
version = '17.0.1'
modules = ['javafx.controls', 'javafx.fxml']
}
I was thinking that maybe I was running the wrong Gradle task, but it seems like the only JavaFX-related task is "configJavafxRun". Any help is greatly appreciated!