You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
@danielpeintner I already tried but it doesn't change anything, unfortunately.
The project is https://github.com/zapek/Xeres
Requires JDK 21, changing the javafxplugin version in ui/build.gradle to 0.1.0 and running the 'bootRun' task.
But it's becoming quite a complex project (JavaFX + Spring Boot) so I can understand if you don't want to try it. I know Spring Boot doesn't play well with JPMS which is why I don't use modules. I tried all suggestions in the readme but they don't help.
Hi there. I'm getting an
NoClassDefFoundError: javafx/application/Application
exception being thrown.My build.gradle is here
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!
The text was updated successfully, but these errors were encountered: