Exception in thread "main" java.lang.NoSuchMethodError: kotlin/text/CharsKt.digitToInt(CI)I (loaded from file:/E:/mavenlocal/repository/org/jetbrains/kotlin/kotlin-stdlib/1.4.21/kotlin-stdlib-1.4.21.jar by jdk.internal.loader.ClassLoaders$AppClassLoader@8f7295d8) called from class net.mamoe.mirai.utils.MiraiUtils__ConversionsKt (loaded from file:/E:/mavenlocal/repository/net/mamoe/mirai-core-utils-jvm/2.7.1-dev-1/mirai-core-utils-jvm-2.7.1-dev-1.jar by jdk.internal.loader.ClassLoaders$AppClassLoader@8f7295d8).
at net.mamoe.mirai.utils.MiraiUtils__ConversionsKt.parseFromHexChunk(Conversions.kt:167)
at net.mamoe.mirai.utils.MiraiUtils.parseFromHexChunk(Unknown Source)
at net.mamoe.mirai.utils.MiraiUtils__ConversionsKt.hexToBytes(Conversions.kt:153)
at net.mamoe.mirai.utils.MiraiUtils.hexToBytes(Unknown Source)
at net.mamoe.mirai.internal.utils.crypto.ECDHKt.<clinit>(ECDH.kt:133)
at net.mamoe.mirai.internal.network.components.AccountSecretsManagerKt.AccountSecretsImpl(AccountSecretsManager.kt:146)
at net.mamoe.mirai.internal.network.components.AccountSecretsManagerKt.getSecretsOrCreate(AccountSecretsManager.kt:154)
at net.mamoe.mirai.internal.network.components.BotClientHolderImpl.createClient(BotClientHolder.kt:36)
at net.mamoe.mirai.internal.network.components.BotClientHolderImpl.access$createClient(BotClientHolder.kt:24)
at net.mamoe.mirai.internal.network.components.BotClientHolderImpl$client$2.invoke(BotClientHolder.kt:28)
at net.mamoe.mirai.internal.network.components.BotClientHolderImpl$client$2.invoke(BotClientHolder.kt:28)
at net.mamoe.mirai.utils.LateinitMutableProperty.getValue(LateinitMutableProperty.kt:38)
at net.mamoe.mirai.internal.network.components.BotClientHolderImpl.getClient(BotClientHolder.kt:28)
at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.getClient(SsoProcessor.kt:97)
at net.mamoe.mirai.internal.network.components.SsoProcessorImpl.logout(SsoProcessor.kt:138)
at net.mamoe.mirai.internal.QQAndroidBot$close$1.invokeSuspend(QQAndroidBot.kt:70)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:274)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:84)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at net.mamoe.mirai.internal.QQAndroidBot.close(QQAndroidBot.kt:68)
at net.mamoe.mirai.internal.AbstractBot.login(AbstractBot.kt:126)
at net.mamoe.mirai.Bot$login$1.invoke(Bot.kt:65535)
at net.mamoe.mirai.Bot$login$1.invoke(Bot.kt)
at kotlin.coroutines.intrinsics.IntrinsicsKt__IntrinsicsJvmKt$createCoroutineUnintercepted$$inlined$createCoroutineFromSuspendFunction$IntrinsicsKt__IntrinsicsJvmKt$1.invokeSuspend(IntrinsicsJvm.kt:205)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlin.coroutines.ContinuationKt.startCoroutine(Continuation.kt:115)
at net.mamoe.kjbb.internal.RunBlockingKt.$runSuspend$(RunBlocking.kt:18)
at net.mamoe.mirai.Bot.login(Bot.kt)
at tech.xysu.xyhc.qrobot.QRobot.main(QRobot.java:50)
jdk版本11 以前可以正常编译 miraicore更新2.7后报方法找不到
友友们在线求救