是不是冲突了啊
2022-08-23 12:48:03 W/Molly: Linked class io.ktor.client.engine.HttpClientEngineFactory in mirai-api-http-v2.3.3.mirai.jar but plugin not depend on it.
2022-08-23 12:48:03 W/Molly: Class loading logic may change in feature.
2022-08-23 12:48:03 E/Molly: Exception in coroutine Plugin org.laolittle.plugin.molly.Molly of Molly
java.lang.ExceptionInInitializerError
at Molly-1.3.1.mirai2.jar//org.laolittle.plugin.molly.model.MollyApiService.request(MollyApiService.kt:39)
at Molly-1.3.1.mirai2.jar//org.laolittle.plugin.molly.FriendMessageListener$main$3$1.invokeSuspend(FriendMessageListener.kt:19)
at Molly-1.3.1.mirai2.jar//org.laolittle.plugin.molly.FriendMessageListener$main$3$1.invoke(FriendMessageListener.kt)
at Molly-1.3.1.mirai2.jar//org.laolittle.plugin.molly.FriendMessageListener$main$3$1.invoke(FriendMessageListener.kt)
at net.mamoe.mirai.event.SubscribeMessagesKt__SubscribeMessagesKt$subscribeFriendMessages$$inlined$createBuilder$SubscribeMessagesKt__SubscribeMessagesKt$1$1.invokeSuspend(subscribeMessages.kt:253)
at net.mamoe.mirai.event.SubscribeMessagesKt__SubscribeMessagesKt$subscribeFriendMessages$$inlined$createBuilder$SubscribeMessagesKt__SubscribeMessagesKt$1$1.invoke(subscribeMessages.kt)
at net.mamoe.mirai.event.SubscribeMessagesKt__SubscribeMessagesKt$subscribeFriendMessages$$inlined$createBuilder$SubscribeMessagesKt__SubscribeMessagesKt$1$1.invoke(subscribeMessages.kt)
at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invokeSuspend(EventChannel.kt:511)
at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
at net.mamoe.mirai.event.FilterEventChannel$intercept$1.invokeSuspend(EventChannel.kt:747)
at net.mamoe.mirai.event.FilterEventChannel$intercept$1.invoke(EventChannel.kt)
at net.mamoe.mirai.event.FilterEventChannel$intercept$1.invoke(EventChannel.kt)
at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invokeSuspend(SafeListener.kt:58)
at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invoke(SafeListener.kt)
at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invoke(SafeListener.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:166)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
at net.mamoe.mirai.internal.event.SafeListener.onEvent(SafeListener.kt:58)
at net.mamoe.mirai.internal.event.EventListeners.process(EventListeners.kt:125)
at net.mamoe.mirai.internal.event.EventListeners.access$process(EventListeners.kt:33)
at net.mamoe.mirai.internal.event.EventListeners$callListeners$2$1.invokeSuspend(EventListeners.kt:90)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:749)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
Caused by: java.lang.ClassCastException: class io.ktor.client.engine.okhttp.OkHttp cannot be cast to class io.ktor.client.engine.HttpClientEngineFactory (io.ktor.client.engine.okhttp.OkHttp is in unnamed module of loader 'app'; io.ktor.client.engine.HttpClientEngineFactory is in unnamed module of loader 'mirai-api-http-v2.3.3.mirai.jar' @47311277)
at Molly-1.3.1.mirai2.jar//org.laolittle.plugin.molly.utils.KtorOkHttp.<clinit>(KtorOkHttp.kt:13)
... 29 more