Skip to content

main build broken with ClassCastException: NOPLogger cannot be cast to Logger #3414

@shakuzen

Description

@shakuzen
java.lang.ClassCastException: class org.slf4j.helpers.NOPLogger cannot be cast to class ch.qos.logback.classic.Logger (org.slf4j.helpers.NOPLogger and ch.qos.logback.classic.Logger are in unnamed module of loader 'app')

This seems to be caused by us picking up a new version of com.github.tomakehurst:wiremock-jre8-standalone which shades slf4j without moving it to a different package, so classes may be loaded from it instead of the same classes from our actual slf4j dependency based on ordering.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions