DfM :
I'm trying to build a non-modular application (no module-info.java files) with JavaFX 11 using Maven.
As suggested on openjfx.io, I'm using JavaFX Maven plugin for that.
But in respond to mvn javafx:run
I get the following error:
[INFO] --- javafx-maven-plugin:0.0.2:run (default-cli) @ server ---
Error occurred during initialization of boot layer
java.lang.module.ResolutionException: Modules lucene.core and
lucene.misc export package org.apache.lucene.store to module javassist
[ERROR] Command execution failed.
I'm using Hibernate Search 5.11.2 which depends on org.apache.lucene:lucene-core:5.5.5
and org.apache.lucene:lucene-misc:5.5.5
.
As far as I understand from the API, these jars are simple pre-JDK9 jars. So they should be parts of the unnamed module and I should get no errors. Or am I missing something?
DfM :
Fixed in this PR.
So either build and install the snapshot or wait until version 0.0.3 will be released, if you are facing the similar issue.