Skip to content

Search for service provider using context class loader as a fallback #365

@daniel-jasinski

Description

@daniel-jasinski

We are using a custom class loader for loading our application classes, but delegate loading SLF4j to standard classloaders.
Because of this SLF4J cannot load our custom ServiceProvider.

A simple fix for such situations is to perform a fallback search for service providers using context class loader.

The solution provided here would fix the issue.

I could provide an implementation if necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions