Skip to content

Running as a JLink Artifact - Produces Unable to find provider supporting jar scheme #1396

Description

@GedMarc

Hey Guys,

Using Vert.X 5 and up, when building and running JLink images, the commons library throws no jar scheme.

I believe this to be a bug as there is no JAR scheme in JLink artifacts, it is JRT? e.g. jrt://<module_name>/

Caused by: java.lang.ExceptionInInitializerError
        at io.smallrye.config.core@2.0.0-SNAPSHOT/io.smallrye.config.AbstractLocationConfigSourceLoader.tryClassPath(Unknown Source)
        at io.smallrye.config.core@2.0.0-SNAPSHOT/io.smallrye.config.AbstractLocationConfigSourceLoader.loadConfigSources(Unknown Source)
        at io.smallrye.config.core@2.0.0-SNAPSHOT/io.smallrye.config.AbstractLocationConfigSourceLoader.loadConfigSources(Unknown Source)
        at io.smallrye.config.core@2.0.0-SNAPSHOT/io.smallrye.config.PropertiesConfigSourceLoader$InClassPath.getConfigSources(Unknown Source)
        at io.smallrye.config.core@2.0.0-SNAPSHOT/io.smallrye.config.PropertiesConfigSourceLoader.inClassPath(Unknown Source)
        at io.smallrye.config.core@2.0.0-SNAPSHOT/io.smallrye.config.SmallRyeConfigBuilder.getPropertiesSources(Unknown Source)
        at io.smallrye.config.core@2.0.0-SNAPSHOT/io.smallrye.config.SmallRyeConfigBuilder.getDefaultSources(Unknown Source)
        at io.smallrye.config.core@2.0.0-SNAPSHOT/io.smallrye.config.SmallRyeConfig$ConfigSources.buildSources(Unknown Source)
        at io.smallrye.config.core@2.0.0-SNAPSHOT/io.smallrye.config.SmallRyeConfig$ConfigSources.<init>(Unknown Source)
        at io.smallrye.config.core@2.0.0-SNAPSHOT/io.smallrye.config.SmallRyeConfig.<init>(Unknown Source)
        at io.smallrye.config.core@2.0.0-SNAPSHOT/io.smallrye.config.SmallRyeConfigBuilder.build(Unknown Source)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions