Error when using CustomStage with java 17 and openjfx 17

when I try to run my project, I get the following error:

Error occurred during initialization of boot layer
java.lang.module.FindException: Module CustomStage not found, required by com.example.jfxmoderntest

Execution failed for task ':HelloApplication.main()'.
> Process 'command '/usr/lib/jvm/java-1.17.0-openjdk-amd64/bin/java'' finished with non-zero exit value 1

What does this mean and how could I fix it?
I am using gradle, so here is an except of my build.gradle:
dependencies {
    implementation('lk.vivoxalabs.customstage:CustomStage:1.3.2')
    implementation('org.controlsfx:controlsfx:11.1.2')
    implementation('com.dlsc.formsfx:formsfx-core:11.6.0') {
        exclude(group: 'org.openjfx')
    }
    implementation('net.synedra:validatorfx:0.4.0') {
        exclude(group: 'org.openjfx')
    }
    implementation('org.kordamp.ikonli:ikonli-javafx:12.3.1')

    testImplementation("org.junit.jupiter:junit-jupiter-api:${junitVersion}")
    testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junitVersion}")
}
Was this page helpful?