Skip to content

RDF4J Driver Module-info #1353

@ffritsche

Description

@ffritsche

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions