I am currently working on a project for University in Java. In the template for the project we already have a lot of Classes and configurations given. However, if I try to run the code, my build fails and it gives me the following error Message:
java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found
on top of that, I get the following warning:
Unsupported JavaFX configuration: classes were loaded from 'unnamed module @4bde3f8a'
I feel like it has something to do with the gradle configuration, so I include my build.gradle (That I was given by my university):
plugins {
id 'application'
id 'org.openjfx.javafxplugin' version '0.0.9'
}
apply plugin: 'java'
sourceCompatibility = 17
version = '1.0.0'
compileJava.options.encoding = 'UTF-8'
repositories {
mavenCentral()
}
javafx {
version = "17"
modules = ['javafx.controls']
}
dependencies {
implementation 'org.json:json:20220924'
implementation 'org.apache.commons:commons-lang3:3.12.0'
implementation 'org.openjfx:javafx-graphics:17:mac'
}
sourceSets {
main {
java {
srcDir 'src'
}
}
test {
java {
srcDirs = []
}
}
}