Menu

#2006 Incompatible with OpenJFX 11

2.33
open
nobody
None
1
2018-12-25
2018-12-25
T W
No

Getting following error when creating with enabled OpenJFX:

Error occurred during initialization of boot layer
java.lang.module.FindException: Unable to derive module descriptor for C:\Users\User1.gradle\caches\modules-2\files-2.1\xalan\xalan\2.7.2\d55d3f02a56ec4c25695fe67e1334ff8c2ecea23\xalan-2.7.2.jar
Caused by: java.lang.module.InvalidModuleDescriptorException: Provider class org.apache.bsf.BSFManager not in module

with following build.gradle:
plugins {
id 'java'
id 'application'
id 'org.openjfx.javafxplugin' version '0.0.5'
}

group 'de.User1'
version '1.0-SNAPSHOT'
sourceCompatibility = 11

repositories {
mavenCentral()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
compile group: 'net.sourceforge.htmlunit', name: 'htmlunit', version: '2.33'

}

mainClassName = "Main"

javafx{
modules = [ 'javafx.controls', 'javafx.swing' ]
version = "11.0.+"
}

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.