GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Use version 4.2.3 on Dockerfile · Issue #419 · kscripting/kscript

Use version 4.2.3 on Dockerfile  #419

New issue
Copy link
New issue
Copy link
Open
Open
Use version 4.2.3 on Dockerfile #419
Copy link

Description

@devaughnsaxa
devaughnsaxa
opened on Feb 26, 2024
Issue body actions

I can see that the kscript version 4.2.3 is missing on the Dockerfile https://github.com/kscripting/kscript/blob/master/misc/Dockerfile.

This makes it unable to run scripts with modules written in Kotlin with newer versions.
I get this error (shortened for brevity)

... [kscript] [ERROR] Stderr : 'error: incompatible classes were found in dependencies. Remove them from the classpath or use '-Xskip-metadata-version-check' to suppress errors[nl]/root/.m2/repository/io/javalin/javalin/6.1.2/javalin-6.1.2.jar!/META-INF/javalin.kotlin_module: error: module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.[nl]/root/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib/1.9.22/kotlin-stdlib-1.9.22.jar!/META-INF/kotlin-stdlib-jdk7.kotlin_module: error: module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.[nl]/root/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib/1.9.22/kotlin-stdlib-1.9.22.jar!/META-INF/kotlin-stdlib-jdk8.kotlin_module: error: module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.[nl]/root/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib/1.9.22/kotlin-stdlib-1.9.22.jar!/META-INF/kotlin-stdlib.kotlin_module: error: module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.[nl]/root/.cache/kscript/jar_c5304d52f1a0c0ba7787a3782f2f7d6e/Scriplet.kts:4:24: error: class 'io.javalin.http.Context' was compiled with an incompatible version of Kotlin...

Is that something you could fix? I would really appreciate that.
Thanks in advance and have a nice day :)

Activity

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

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.