iTXTech / mirai-console-loader

模块化、轻量级且支持完全自定义的 mirai 加载器。
GNU Affero General Public License v3.0
733 stars 62 forks source link

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

Closed Jasonyou-boy closed 1 year ago

Jasonyou-boy commented 1 year ago

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