virtuoso-opensource icon indicating copy to clipboard operation
virtuoso-opensource copied to clipboard

RDF4J Driver Module-info

Open ffritsche opened this issue 7 months ago • 1 comments

I tried to use the virt_rdf4 driver in an JavaFX maven project.

On mvn javafx:run I get the following error:

  • exception: Unable to derive module descriptor for /Users/xyz/.m2/repository/com/openlinksw/virt_rdf4j_v5_1/1.20/virt_rdf4j_v5_1-1.20.jar
  • cause: virt.rdf4j.v5.1: Invalid module name: '1' is not a Java identifier

I get the same error, when I try to use the module-info.java and use the

module test.javafx {
	exports com.javafx;
	requires atlantafx.base;
	requires java.desktop;
	requires javafx.base;
	requires javafx.controls;
	requires javafx.graphics;
	requires virt.rdf4j.v5.1;
}
Image

After some research it seams that the artifactID should only use lowercase letters and hyphens.

The virtjdbc4_3 works, because it uses

Automatic-Module-Name: virtuoso.jdbc4

in the MANIFEST.MF.

The virtjdbc4_2 does not have the Automatic-Module-Name and has the same problems with modules.

Image

ffritsche avatar May 24 '25 23:05 ffritsche

We are looking into this ...

HughWilliams avatar May 26 '25 11:05 HughWilliams