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

mirai-console从2.9.0改为2.15.0就报错了,这个怎么解决 #184

Closed
Jasonyou-boy opened this issue Aug 16, 2023 · 0 comments
Closed

Comments

@Jasonyou-boy
Copy link

Task :compileTestKotlin FAILED
e: Incompatible classes were found in dependencies. Remove them from the classpath or use '-Xskip-metadata-version-check' to suppress errors
e: E:/GradleRespo/caches/modules-2/files-2.1/net.mamoe/mirai-console-terminal/2.15.0/740a6086c50cbc40bed9479b1673cb70689786b0/mirai-console-terminal-2.15.0.jar!/META-INF/mirai-console-terminal.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.5.1.
e: E:/GradleRespo/caches/modules-2/files-2.1/net.mamoe/mirai-console/2.15.0/e90f02a623cecaec5f819d948140a9aaa0cd68bd/mirai-console-2.15.0.jar!/META-INF/mirai-console.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.5.1.
e: E:/GradleRespo/caches/modules-2/files-2.1/net.mamoe/mirai-core-api-jvm/2.15.0/e0a63917e8d7c82b3184c255e48f01b297878349/mirai-core-api-jvm-2.15.0.jar!/META-INF/mirai-core-api.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.5.1.
e: E:/GradleRespo/caches/modules-2/files-2.1/net.mamoe/mirai-core-jvm/2.15.0/9f1d378de24a8810ccdd6576d465d5e516087be2/mirai-core-jvm-2.15.0.jar!/META-INF/bignum.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.5.1.
e: E:/GradleRespo/caches/modules-2/files-2.1/net.mamoe/mirai-core-jvm/2.15.0/9f1d378de24a8810ccdd6576d465d5e516087be2/mirai-core-jvm-2.15.0.jar!/META-INF/mirai-core.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.5.1.
e: E:/GradleRespo/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-reflect/1.8.10/1e90b778ea4669b6bcbfaca57313665ddd804779/kotlin-reflect-1.8.10.jar!/META-INF/compiler.common.jvm.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.5.1.
e: E:/GradleRespo/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-reflect/1.8.10/1e90b778ea4669b6bcbfaca57313665ddd804779/kotlin-reflect-1.8.10.jar!/META-INF/compiler.common.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.5.1.
e: E:/GradleRespo/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-reflect/1.8.10/1e90b778ea4669b6bcbfaca57313665ddd804779/kotlin-reflect-1.8.10.jar!/META-INF/descriptors.jvm.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.5.1.
e: E:/GradleRespo/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-reflect/1.8.10/1e90b778ea4669b6bcbfaca57313665ddd804779/kotlin-reflect-1.8.10.jar!/META-INF/descriptors.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.5.1.
E:/GradleRespo/caches/modules-2/files-2.1/net.mamoe/mirai-console-terminal/2.15.0/740a6086c50cbc40bed9479b1673cb70689786b0/mirai-console-terminal-2.15.0.jar!/META-INF/mirai-console-terminal.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.5.1.

e: E:/GradleRespo/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-reflect/1.8.10/1e90b778ea4669b6bcbfaca57313665ddd804779/kotlin-reflect-1.8.10.jar!/META-INF/descriptors.runtime.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.5.1.
e: E:/GradleRespo/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-reflect/1.8.10/1e90b778ea4669b6bcbfaca57313665ddd804779/kotlin-reflect-1.8.10.jar!/META-INF/deserialization.common.jvm.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.5.1.
e: E:/GradleRespo/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-reflect/1.8.10/1e90b778ea4669b6bcbfaca57313665ddd804779/kotlin-reflect-1.8.10.jar!/META-INF/deserialization.common.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.5.1.
e: E:/GradleRespo/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-reflect/1.8.10/1e90b778ea4669b6bcbfaca57313665ddd804779/kotlin-reflect-1.8.10.jar!/META-INF/deserialization.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.5.1.
e: E:/GradleRespo/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-reflect/1.8.10/1e90b778ea4669b6bcbfaca57313665ddd804779/kotlin-reflect-1.8.10.jar!/META-INF/kotlin-reflection.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.5.1.
E:/GradleRespo/caches/modules-2/files-2.1/net.mamoe/mirai-console/2.15.0/e90f02a623cecaec5f819d948140a9aaa0cd68bd/mirai-console-2.15.0.jar!/META-INF/mirai-console.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.5.1.
image

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

1 participant