Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoClassDefFoundError: org/jetbrains/kotlin/ir/expressions/impl/IrFunctionExpressionImplKt #8

Open
Xirado opened this issue Aug 15, 2024 · 2 comments

Comments

@Xirado
Copy link

Xirado commented Aug 15, 2024

I get the following gradle exception when running the "build" task.

java.lang.NoClassDefFoundError: org/jetbrains/kotlin/ir/expressions/impl/IrFunctionExpressionImplKt
	at io.exoquery.terpal.plugin.transform.BuilderExtensionsKt.createLambdaN(BuilderExtensions.kt:93)
	at io.exoquery.terpal.plugin.transform.BuilderExtensionsKt.createLambda0(BuilderExtensions.kt:81)
	at io.exoquery.terpal.plugin.transform.TransformInterepolatorInvoke.transform(TransformInterepolatorInvoke.kt:141)
	at io.exoquery.terpal.plugin.transform.VisitTransformExpressions.visitCall(VisitTransformExpressions.kt:54)
plugins {
    kotlin("jvm") version "2.0.10"
    kotlin("plugin.serialization") version "2.0.10"
    id("com.google.devtools.ksp") version "2.0.10-1.0.24"
    id("io.exoquery.terpal-plugin") version "2.0.0-1.0.0-RC1"
    id("com.google.cloud.tools.jib") version "3.4.2"
    application
}

dependencies {
    api("io.exoquery:terpal-runtime:2.0.0-1.0.0-RC1")
}

IntelliJ autocomplete shows that class is present, i don't really know why it's not seeing it.

@Xirado
Copy link
Author

Xirado commented Aug 15, 2024

It appears to be because i use kotlin 2.0.10 instead of 2.0.0, so it's ABI breakage?

@deusaquilus
Copy link
Member

Yeah it looks like they made another minor API change. I'll produce a 2.0.10 version soon. I've got a KMP issue to resolve first though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants