Skip to content

[BUG] ExperimentalCoroutineDispatcher class not found with kotlinx-coroutines version 1.10.2 library #248

@emilesteenkamp

Description

@emilesteenkamp

Describe the bug
I am getting the runtime exception

java.lang.ClassNotFoundException: kotlinx.coroutines.scheduling.ExperimentalCoroutineDispatcher

My project is using kotlinx-coroutines library with version 1.10.2 and it seems skrapeit is using 1.5.0.

When downgrading my project's coroutine version to 1.5.0, it seems everything is working fine

Code Sample

[versions]
kotlin = "2.2.0"
kotlinx-coroutines = "1.10.2"
skrapeit = "1.2.2"

[libraries]
kotlinx-coroutines = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "kotlinx-coroutines" }
skrapeit = { module = "it.skrape:skrapeit", version.ref = "skrapeit" }

Expected behavior
I should not run into a runtime exception when using version kotlinx-coroutines version "1.10.2".

Additional context
Should be fixable by bumping the coroutines library version.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions