Skip to content

Provided Metadata instance has version 2.2.0, while maximum supported version is 2.1.0. #39

Open

Description

@ABastuev

I got error when updated kotlin to 2.2.21
Caused by: java.lang.IllegalArgumentException: Provided Metadata instance has version 2.2.0, while maximum supported version is 2.1.0. To support newer versions, update the kotlinx-metadata-jvm library.
I use 0.3.7

Activity

  1. AlexanderPanaev commented on Jun 1, 2026

    @AlexanderPanaev

    Same here. I ran into this error while trying to update Kotlin to 2.3.20 from 2.1.20 (currently using version 0.3.7 of this library).

    Is a fix or an update planned for this anytime soon?

  2. danimalquackers commented on Jun 29, 2026

    @danimalquackers

    It's a shame that this is still a problem. I'm banging my head against a wall trying to get Ktor bundled using this and there doesn't seem to be a clean solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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