Skip to content

Unable to load class 'io.github.oshai.kotlinlogging.KotlinLogging' #491

@mhdabbaghy

Description

@mhdabbaghy

Hi, after I upgraded kotlin to 2.2.20 and ktlint to 5.2.0, Im getting this error after running related tasks
I found a workround that add "io.github.oshai:kotlin-logging-jvm:7.0.0" to my classpath, but i dont think it is an standard approach.

Execution failed for task ':app:formatKotlinAndroidTest'.

There was a failure while executing work items
A failure occurred while executing org.jmailen.gradle.kotlinter.tasks.format.FormatWorkerAction
> io/github/oshai/kotlinlogging/KotlinLogging

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