Closed enchantedyou closed 2 years ago
此问题可参考 https://www.yuque.com/simpler-robot/simpler-robot-doc/rvsl9p
升级kotllin插件至1.6.x仍然爆红,禁用kotlin插件虽然不爆红了但启动时报如下错误,IDEA2021.2应该不算太旧吧
Caused by: java.lang.ClassNotFoundException: net.mamoe.mirai.internal.deps.io.ktor.client.engine.okhttp.OkHttp at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[?:1.8.0_181] at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_181] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) ~[?:1.8.0_181] at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_181] at net.mamoe.mirai.internal.MiraiImplKt.createDefaultHttpClient(MiraiImpl.kt:29) ~[mirai-core-jvm-2.13.0.jar:2.13.0] at net.mamoe.mirai.internal.MiraiImpl.<init>(MiraiImpl.kt:97) ~[mirai-core-jvm-2.13.0.jar:2.13.0] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_181] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_181] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_181] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_181] at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_181] at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380) ~[?:1.8.0_181] at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404) ~[?:1.8.0_181] at java.util.ServiceLoader$1.next(ServiceLoader.java:480) ~[?:1.8.0_181] at kotlin.collections.CollectionsKt___CollectionsKt.firstOrNull(_Collections.kt:270) ~[kotlin-stdlib-1.6.10.jar:1.6.10-release-923(1.6.10)] at net.mamoe.mirai.utils.ServicesKt.loadService(Services.kt:18) ~[mirai-core-utils-jvm-2.13.0.jar:2.13.0] at net.mamoe.mirai.Mirai.findMiraiInstance(IMirai.kt:357) ~[mirai-core-api-jvm-2.13.0.jar:2.13.0] at net.mamoe.mirai._MiraiInstance.get(IMirai.kt:348) ~[mirai-core-api-jvm-2.13.0.jar:2.13.0] at net.mamoe.mirai.Mirai.getInstance(IMirai.kt:39) ~[mirai-core-api-jvm-2.13.0.jar:2.13.0] at net.mamoe.mirai.internal.message.MessageSerializersImpl.getSerializersModule(MessageSerializersImpl.kt:65) ~[mirai-core-api-jvm-2.13.0.jar:2.13.0] at net.mamoe.mirai.internal.message.MessageSerializersImpl.registerSerializers(MessageSerializersImpl.kt:76) ~[mirai-core-api-jvm-2.13.0.jar:2.13.0] at net.mamoe.mirai.message.MessageSerializers$INSTANCE.registerSerializers(MessageSerializers.kt) ~[mirai-core-api-jvm-2.13.0.jar:2.13.0] at net.mamoe.mirai.internal.message.protocol.MessageProtocolFacade.<clinit>(MessageProtocolFacade.kt:165) ~[mirai-core-jvm-2.13.0.jar:2.13.0] at net.mamoe.mirai.internal.MiraiImplKt._MiraiImpl_static_init(MiraiImpl.kt:25) ~[mirai-core-jvm-2.13.0.jar:2.13.0] at net.mamoe.mirai.internal.MiraiImpl.<clinit>(MiraiImpl.kt:87) ~[mirai-core-jvm-2.13.0.jar:2.13.0] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_181] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_181] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_181] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_181] at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_181] at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380) ~[?:1.8.0_181] at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404) ~[?:1.8.0_181] at java.util.ServiceLoader$1.next(ServiceLoader.java:480) ~[?:1.8.0_181] at kotlin.collections.CollectionsKt___CollectionsKt.firstOrNull(_Collections.kt:270) ~[kotlin-stdlib-1.6.10.jar:1.6.10-release-923(1.6.10)] at net.mamoe.mirai.utils.ServicesKt.loadService(Services.kt:18) ~[mirai-core-utils-jvm-2.13.0.jar:2.13.0] at net.mamoe.mirai.Mirai.findMiraiInstance(IMirai.kt:357) ~[mirai-core-api-jvm-2.13.0.jar:2.13.0] at net.mamoe.mirai._MiraiInstance.get(IMirai.kt:348) ~[mirai-core-api-jvm-2.13.0.jar:2.13.0] at net.mamoe.mirai.Mirai.getInstance(IMirai.kt:39) ~[mirai-core-api-jvm-2.13.0.jar:2.13.0] at net.mamoe.mirai.internal.message.MessageSerializersImpl.getSerializersModule(MessageSerializersImpl.kt:65) ~[mirai-core-api-jvm-2.13.0.jar:2.13.0] at net.mamoe.mirai.message.MessageSerializers$INSTANCE.getSerializersModule(MessageSerializers.kt) ~[mirai-core-api-jvm-2.13.0.jar:2.13.0] at love.forte.simbot.component.mirai.MiraiComponent.<clinit>(MiraiComponent.kt:174) ~[simbot-component-mirai-core-3.0.0.0-beta.4.jar:?] at love.forte.simbot.component.mirai.MiraiComponentAutoRegistrarFactory.getRegistrar(MiraiComponent.kt:196) ~[simbot-component-mirai-core-3.0.0.0-beta.4.jar:?] at love.forte.simbot.component.mirai.MiraiComponentAutoRegistrarFactory.getRegistrar(MiraiComponent.kt:193) ~[simbot-component-mirai-core-3.0.0.0-beta.4.jar:?] at love.forte.simbot.Components.installAllComponents(Component.kt:130) ~[simbot-api-3.0.0-M2.jar:?] at love.forte.simboot.spring.autoconfigure.SimbotSpringBootComponentAutoInstallBuildConfigure.config(SimbotSpringBootComponentAutoInstallBuildConfigure.kt:82) ~[simboot-core-spring-boot-starter-3.0.0-M2.jar:?] at love.forte.simboot.spring.autoconfigure.SimbotSpringBootApplicationConfiguration$simbotSpringBootApplication$1$2.invoke(SimbotSpringBootApplicationConfiguration.kt:104) ~[simboot-core-spring-boot-starter-3.0.0-M2.jar:?] at love.forte.simboot.spring.autoconfigure.SimbotSpringBootApplicationConfiguration$simbotSpringBootApplication$1$2.invoke(SimbotSpringBootApplicationConfiguration.kt:92) ~[simboot-core-spring-boot-starter-3.0.0-M2.jar:?] at love.forte.simboot.spring.autoconfigure.application.SpringBootApplicationKt$springBootApplication$3.invokeSuspend$suspendConversion0(SpringBootApplication.kt:91) ~[simboot-core-spring-boot-starter-3.0.0-M2.jar:?] at love.forte.simboot.spring.autoconfigure.application.SpringBootApplicationKt$springBootApplication$3.access$invokeSuspend$suspendConversion0(SpringBootApplication.kt) ~[simboot-core-spring-boot-starter-3.0.0-M2.jar:?] at love.forte.simboot.spring.autoconfigure.application.SpringBootApplicationKt$springBootApplication$3$1.invoke(SpringBootApplication.kt:91) ~[simboot-core-spring-boot-starter-3.0.0-M2.jar:?] at love.forte.simboot.spring.autoconfigure.application.SpringBootApplicationKt$springBootApplication$3$1.invoke(SpringBootApplication.kt:91) ~[simboot-core-spring-boot-starter-3.0.0-M2.jar:?] at love.forte.simboot.spring.autoconfigure.application.SpringBoot.create(SpringBootApplication.kt:66) ~[simboot-core-spring-boot-starter-3.0.0-M2.jar:?] at love.forte.simboot.spring.autoconfigure.application.SpringBootApplicationKt$springBootApplication$3.invokeSuspend(SpringBootApplication.kt:91) ~[simboot-core-spring-boot-starter-3.0.0-M2.jar:?] at love.forte.simboot.spring.autoconfigure.application.SpringBootApplicationKt$springBootApplication$3.invoke(SpringBootApplication.kt) ~[simboot-core-spring-boot-starter-3.0.0-M2.jar:?] at love.forte.simboot.spring.autoconfigure.application.SpringBootApplicationKt$springBootApplication$3.invoke(SpringBootApplication.kt) ~[simboot-core-spring-boot-starter-3.0.0-M2.jar:?] at love.forte.simbot.application.ApplicationLauncherImpl.launch(ApplicationLauncher.kt:89) ~[simbot-api-3.0.0-M2.jar:?] at love.forte.simboot.spring.autoconfigure.SimbotSpringBootApplicationConfiguration$simbotSpringBootApplication$1.invokeSuspend(SimbotSpringBootApplicationConfiguration.kt:107) ~[simboot-core-spring-boot-starter-3.0.0-M2.jar:?] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) ~[kotlin-stdlib-1.6.10.jar:1.6.10-release-923(1.6.10)] at kotlin.coroutines.ContinuationKt.startCoroutine(Continuation.kt:115) ~[kotlin-stdlib-1.6.10.jar:1.6.10-release-923(1.6.10)] at love.forte.simbot.utils.DefaultRunInNoScopeBlockingStrategy.invoke(BlockingRunner.kt:359) ~[simbot-api-3.0.0-M2.jar:?] at love.forte.simbot.utils.BlockingRunnerKt.runInNoScopeBlocking(BlockingRunner.kt:423) ~[simbot-api-3.0.0-M2.jar:?] at love.forte.simbot.utils.BlockingRunnerKt.runInNoScopeBlocking$default(BlockingRunner.kt:420) ~[simbot-api-3.0.0-M2.jar:?] at love.forte.simboot.spring.autoconfigure.SimbotSpringBootApplicationConfiguration.simbotSpringBootApplication(SimbotSpringBootApplicationConfiguration.kt:91) ~[simboot-core-spring-boot-starter-3.0.0-M2.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_181] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181] at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) ~[spring-beans-5.3.16.jar:5.3.16] at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653) ~[spring-beans-5.3.16.jar:5.3.16] ... 19 more
IDEA2021.2应该不算太旧吧
这已经是相隔一年以上的版本了。 Kotlin插件最新应该已经是 1.7.21了,更新IDEA到至少2022以上。
当然,禁用Kotlin插件之后可以用也行。
Caused by: java.lang.ClassNotFoundException: net.mamoe.mirai.internal.deps.io.ktor.client.engine.okhttp.OkHttp
Caused by: java.lang.ClassNotFoundException: net.mamoe.mirai.internal.deps.io.ktor.client.engine.okhttp.OkHttp
目前mirai还未发布修复版本,所以我打算降一级版本 simbot:v3.0.0-M1 simbot-component-mirai:v3.0.0.0-beta.3 但是出现如下问题,请问有遇到吗
`"C:\Program Files\Java\jdk1.8.0_181\bin\java.exe" -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always "-javaagent:D:\develop\IntelliJ IDEA 2021.2\lib\idea_rt.jar=39909:D:\develop\IntelliJ IDEA 2021.2\bin" -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Java\jdk1.8.0_181\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\zipfs.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\rt.jar;E:\JavaCode\GithubWorkspace\jx3-qq-robot-plus\target\classes;E:\mavenRepository\love\forte\simbot\boot\simboot-core-spring-boot-starter\3.0.0-M1\simboot-core-spring-boot-starter-3.0.0-M1.jar;E:\mavenRepository\love\forte\simbot\boot\simboot-core\3.0.0-M1\simboot-core-3.0.0-M1.jar;E:\mavenRepository\love\forte\simbot\simbot-logger-jvm\3.0.0-M1\simbot-logger-jvm-3.0.0-M1.jar;E:\mavenRepository\org\jetbrains\kotlin\kotlin-stdlib-common\1.6.10\kotlin-stdlib-common-1.6.10.jar;E:\mavenRepository\love\forte\simbot\boot\simboot-api\3.0.0-M1\simboot-api-3.0.0-M1.jar;E:\mavenRepository\love\forte\simbot\simbot-core\3.0.0-M1\simbot-core-3.0.0-M1.jar;E:\mavenRepository\love\forte\simbot\simbot-api\3.0.0-M1\simbot-api-3.0.0-M1.jar;E:\mavenRepository\org\jetbrains\kotlinx\kotlinx-coroutines-jdk8\1.5.2\kotlinx-coroutines-jdk8-1.5.2.jar;E:\mavenRepository\love\forte\simbot\boot\simboot-core-annotation\3.0.0-M1\simboot-core-annotation-3.0.0-M1.jar;E:\mavenRepository\org\jetbrains\kotlinx\kotlinx-coroutines-core-jvm\1.5.2\kotlinx-coroutines-core-jvm-1.5.2.jar;E:\mavenRepository\org\jetbrains\kotlinx\kotlinx-serialization-core-jvm\1.4.0\kotlinx-serialization-core-jvm-1.4.0.jar;E:\mavenRepository\org\jetbrains\kotlinx\kotlinx-serialization-json-jvm\1.4.0\kotlinx-serialization-json-jvm-1.4.0.jar;E:\mavenRepository\love\forte\di\di-core\0.0.3\di-core-0.0.3.jar;E:\mavenRepository\love\forte\annotation-tool\kcore\0.6.3\kcore-0.6.3.jar;E:\mavenRepository\love\forte\annotation-tool\api\0.6.3\api-0.6.3.jar;E:\mavenRepository\javax\inject\javax.inject\1\javax.inject-1.jar;E:\mavenRepository\love\forte\di\di-spring\0.0.3\di-spring-0.0.3.jar;E:\mavenRepository\love\forte\di\di-api\0.0.3\di-api-0.0.3.jar;E:\mavenRepository\org\jetbrains\kotlin\kotlin-reflect\1.6.10\kotlin-reflect-1.6.10.jar;E:\mavenRepository\org\springframework\spring-context\5.3.16\spring-context-5.3.16.jar;E:\mavenRepository\org\jetbrains\kotlin\kotlin-stdlib-jdk8\1.6.10\kotlin-stdlib-jdk8-1.6.10.jar;E:\mavenRepository\org\jetbrains\kotlin\kotlin-stdlib\1.6.10\kotlin-stdlib-1.6.10.jar;E:\mavenRepository\org\jetbrains\annotations\13.0\annotations-13.0.jar;E:\mavenRepository\org\jetbrains\kotlin\kotlin-stdlib-jdk7\1.6.10\kotlin-stdlib-jdk7-1.6.10.jar;E:\mavenRepository\org\springframework\boot\spring-boot-autoconfigure\2.6.4\spring-boot-autoconfigure-2.6.4.jar;E:\mavenRepository\org\springframework\boot\spring-boot\2.6.4\spring-boot-2.6.4.jar;E:\mavenRepository\org\springframework\boot\spring-boot-configuration-processor\2.6.4\spring-boot-configuration-processor-2.6.4.jar;E:\mavenRepository\love\forte\simbot\component\simbot-component-mirai-boot\3.0.0.0-beta.3\simbot-component-mirai-boot-3.0.0.0-beta.3.jar;E:\mavenRepository\love\forte\simbot\component\simbot-component-mirai-core\3.0.0.0-beta.3\simbot-component-mirai-core-3.0.0.0-beta.3.jar;E:\mavenRepository\net\mamoe\mirai-core-jvm\2.13.0-RC2\mirai-core-jvm-2.13.0-RC2.jar;E:\mavenRepository\net\mamoe\mirai-core-api-jvm\2.13.0-RC2\mirai-core-api-jvm-2.13.0-RC2.jar;E:\mavenRepository\net\mamoe\mirai-console-compiler-annotations-jvm\2.13.0-RC2\mirai-console-compiler-annotations-jvm-2.13.0-RC2.jar;E:\mavenRepository\org\bouncycastle\bcprov-jdk15on\1.64\bcprov-jdk15on-1.64.jar;E:\mavenRepository\me\him188\kotlin-jvm-blocking-bridge-runtime-jvm\2.1.0-170.1\kotlin-jvm-blocking-bridge-runtime-jvm-2.1.0-170.1.jar;E:\mavenRepository\me\him188\kotlin-dynamic-delegation-jvm\0.3.0-170.1\kotlin-dynamic-delegation-jvm-0.3.0-170.1.jar;E:\mavenRepository\net\mamoe\mirai-core-utils-jvm\2.13.0-RC2\mirai-core-utils-jvm-2.13.0-RC2.jar;E:\mavenRepository\org\jetbrains\kotlinx\kotlinx-serialization-protobuf-jvm\1.3.3\kotlinx-serialization-protobuf-jvm-1.3.3.jar;E:\mavenRepository\org\jetbrains\kotlinx\atomicfu-jvm\0.18.3\atomicfu-jvm-0.18.3.jar;E:\mavenRepository\io\netty\netty-all\4.1.74.Final\netty-all-4.1.74.Final.jar;E:\mavenRepository\io\netty\netty-codec-dns\4.1.74.Final\netty-codec-dns-4.1.74.Final.jar;E:\mavenRepository\io\netty\netty-codec-haproxy\4.1.74.Final\netty-codec-haproxy-4.1.74.Final.jar;E:\mavenRepository\io\netty\netty-codec-http\4.1.74.Final\netty-codec-http-4.1.74.Final.jar;E:\mavenRepository\io\netty\netty-codec-http2\4.1.74.Final\netty-codec-http2-4.1.74.Final.jar;E:\mavenRepository\io\netty\netty-codec-memcache\4.1.74.Final\netty-codec-memcache-4.1.74.Final.jar;E:\mavenRepository\io\netty\netty-codec-mqtt\4.1.74.Final\netty-codec-mqtt-4.1.74.Final.jar;E:\mavenRepository\io\netty\netty-codec-redis\4.1.74.Final\netty-codec-redis-4.1.74.Final.jar;E:\mavenRepository\io\netty\netty-codec-smtp\4.1.74.Final\netty-codec-smtp-4.1.74.Final.jar;E:\mavenRepository\io\netty\netty-codec-socks\4.1.74.Final\netty-codec-socks-4.1.74.Final.jar;E:\mavenRepository\io\netty\netty-codec-stomp\4.1.74.Final\netty-codec-stomp-4.1.74.Final.jar;E:\mavenRepository\io\netty\netty-codec-xml\4.1.74.Final\netty-codec-xml-4.1.74.Final.jar;E:\mavenRepository\io\netty\netty-handler-proxy\4.1.74.Final\netty-handler-proxy-4.1.74.Final.jar;E:\mavenRepository\io\netty\netty-resolver-dns\4.1.74.Final\netty-resolver-dns-4.1.74.Final.jar;E:\mavenRepository\io\netty\netty-transport-rxtx\4.1.74.Final\netty-transport-rxtx-4.1.74.Final.jar;E:\mavenRepository\io\netty\netty-transport-sctp\4.1.74.Final\netty-transport-sctp-4.1.74.Final.jar;E:\mavenRepository\io\netty\netty-transport-udt\4.1.74.Final\netty-transport-udt-4.1.74.Final.jar;E:\mavenRepository\io\netty\netty-transport-classes-epoll\4.1.74.Final\netty-transport-classes-epoll-4.1.74.Final.jar;E:\mavenRepository\io\netty\netty-transport-native-unix-common\4.1.74.Final\netty-transport-native-unix-common-4.1.74.Final.jar;E:\mavenRepository\io\netty\netty-transport-classes-kqueue\4.1.74.Final\netty-transport-classes-kqueue-4.1.74.Final.jar;E:\mavenRepository\io\netty\netty-resolver-dns-classes-macos\4.1.74.Final\netty-resolver-dns-classes-macos-4.1.74.Final.jar;E:\mavenRepository\io\netty\netty-transport-native-epoll\4.1.74.Final\netty-transport-native-epoll-4.1.74.Final-linux-x86_64.jar;E:\mavenRepository\io\netty\netty-transport-native-epoll\4.1.74.Final\netty-transport-native-epoll-4.1.74.Final-linux-aarch_64.jar;E:\mavenRepository\io\netty\netty-transport-native-kqueue\4.1.74.Final\netty-transport-native-kqueue-4.1.74.Final-osx-x86_64.jar;E:\mavenRepository\io\netty\netty-transport-native-kqueue\4.1.74.Final\netty-transport-native-kqueue-4.1.74.Final-osx-aarch_64.jar;E:\mavenRepository\io\netty\netty-resolver-dns-native-macos\4.1.74.Final\netty-resolver-dns-native-macos-4.1.74.Final-osx-x86_64.jar;E:\mavenRepository\io\netty\netty-resolver-dns-native-macos\4.1.74.Final\netty-resolver-dns-native-macos-4.1.74.Final-osx-aarch_64.jar;E:\mavenRepository\org\springframework\boot\spring-boot-starter-data-jpa\2.6.4\spring-boot-starter-data-jpa-2.6.4.jar;E:\mavenRepository\org\springframework\boot\spring-boot-starter-aop\2.6.4\spring-boot-starter-aop-2.6.4.jar;E:\mavenRepository\org\springframework\spring-aop\5.3.16\spring-aop-5.3.16.jar;E:\mavenRepository\org\aspectj\aspectjweaver\1.9.7\aspectjweaver-1.9.7.jar;E:\mavenRepository\org\springframework\boot\spring-boot-starter-jdbc\2.6.4\spring-boot-starter-jdbc-2.6.4.jar;E:\mavenRepository\com\zaxxer\HikariCP\4.0.3\HikariCP-4.0.3.jar;E:\mavenRepository\org\springframework\spring-jdbc\5.3.16\spring-jdbc-5.3.16.jar;E:\mavenRepository\jakarta\transaction\jakarta.transaction-api\1.3.3\jakarta.transaction-api-1.3.3.jar;E:\mavenRepository\jakarta\persistence\jakarta.persistence-api\2.2.3\jakarta.persistence-api-2.2.3.jar;E:\mavenRepository\org\hibernate\hibernate-core\5.6.5.Final\hibernate-core-5.6.5.Final.jar;E:\mavenRepository\org\jboss\logging\jboss-logging\3.4.3.Final\jboss-logging-3.4.3.Final.jar;E:\mavenRepository\net\bytebuddy\byte-buddy\1.11.22\byte-buddy-1.11.22.jar;E:\mavenRepository\antlr\antlr\2.7.7\antlr-2.7.7.jar;E:\mavenRepository\org\jboss\jandex\2.4.2.Final\jandex-2.4.2.Final.jar;E:\mavenRepository\com\fasterxml\classmate\1.5.1\classmate-1.5.1.jar;E:\mavenRepository\org\hibernate\common\hibernate-commons-annotations\5.1.2.Final\hibernate-commons-annotations-5.1.2.Final.jar;E:\mavenRepository\org\glassfish\jaxb\jaxb-runtime\2.3.6\jaxb-runtime-2.3.6.jar;E:\mavenRepository\org\glassfish\jaxb\txw2\2.3.6\txw2-2.3.6.jar;E:\mavenRepository\com\sun\istack\istack-commons-runtime\3.0.12\istack-commons-runtime-3.0.12.jar;E:\mavenRepository\com\sun\activation\jakarta.activation\1.2.2\jakarta.activation-1.2.2.jar;E:\mavenRepository\org\springframework\data\spring-data-jpa\2.6.2\spring-data-jpa-2.6.2.jar;E:\mavenRepository\org\springframework\data\spring-data-commons\2.6.2\spring-data-commons-2.6.2.jar;E:\mavenRepository\org\springframework\spring-orm\5.3.16\spring-orm-5.3.16.jar;E:\mavenRepository\org\springframework\spring-tx\5.3.16\spring-tx-5.3.16.jar;E:\mavenRepository\org\springframework\spring-beans\5.3.16\spring-beans-5.3.16.jar;E:\mavenRepository\org\springframework\spring-aspects\5.3.16\spring-aspects-5.3.16.jar;E:\mavenRepository\org\springframework\boot\spring-boot-starter-log4j2\2.6.4\spring-boot-starter-log4j2-2.6.4.jar;E:\mavenRepository\org\apache\logging\log4j\log4j-slf4j-impl\2.17.1\log4j-slf4j-impl-2.17.1.jar;E:\mavenRepository\org\apache\logging\log4j\log4j-api\2.17.1\log4j-api-2.17.1.jar;E:\mavenRepository\org\apache\logging\log4j\log4j-core\2.17.1\log4j-core-2.17.1.jar;E:\mavenRepository\org\apache\logging\log4j\log4j-jul\2.17.1\log4j-jul-2.17.1.jar;E:\mavenRepository\org\slf4j\jul-to-slf4j\1.7.36\jul-to-slf4j-1.7.36.jar;E:\mavenRepository\org\springframework\boot\spring-boot-starter-web\2.6.4\spring-boot-starter-web-2.6.4.jar;E:\mavenRepository\org\springframework\boot\spring-boot-starter\2.6.4\spring-boot-starter-2.6.4.jar;E:\mavenRepository\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;E:\mavenRepository\org\yaml\snakeyaml\1.29\snakeyaml-1.29.jar;E:\mavenRepository\org\springframework\boot\spring-boot-starter-json\2.6.4\spring-boot-starter-json-2.6.4.jar;E:\mavenRepository\com\fasterxml\jackson\core\jackson-databind\2.13.1\jackson-databind-2.13.1.jar;E:\mavenRepository\com\fasterxml\jackson\core\jackson-annotations\2.13.1\jackson-annotations-2.13.1.jar;E:\mavenRepository\com\fasterxml\jackson\core\jackson-core\2.13.1\jackson-core-2.13.1.jar;E:\mavenRepository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.13.1\jackson-datatype-jdk8-2.13.1.jar;E:\mavenRepository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.13.1\jackson-datatype-jsr310-2.13.1.jar;E:\mavenRepository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.13.1\jackson-module-parameter-names-2.13.1.jar;E:\mavenRepository\org\springframework\boot\spring-boot-starter-tomcat\2.6.4\spring-boot-starter-tomcat-2.6.4.jar;E:\mavenRepository\org\apache\tomcat\embed\tomcat-embed-core\9.0.58\tomcat-embed-core-9.0.58.jar;E:\mavenRepository\org\apache\tomcat\embed\tomcat-embed-el\9.0.58\tomcat-embed-el-9.0.58.jar;E:\mavenRepository\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.58\tomcat-embed-websocket-9.0.58.jar;E:\mavenRepository\org\springframework\spring-web\5.3.16\spring-web-5.3.16.jar;E:\mavenRepository\org\springframework\spring-webmvc\5.3.16\spring-webmvc-5.3.16.jar;E:\mavenRepository\org\springframework\spring-expression\5.3.16\spring-expression-5.3.16.jar;E:\mavenRepository\org\springframework\boot\spring-boot-starter-test\2.6.4\spring-boot-starter-test-2.6.4.jar;E:\mavenRepository\org\springframework\boot\spring-boot-test\2.6.4\spring-boot-test-2.6.4.jar;E:\mavenRepository\org\springframework\boot\spring-boot-test-autoconfigure\2.6.4\spring-boot-test-autoconfigure-2.6.4.jar;E:\mavenRepository\com\jayway\jsonpath\json-path\2.6.0\json-path-2.6.0.jar;E:\mavenRepository\net\minidev\json-smart\2.4.8\json-smart-2.4.8.jar;E:\mavenRepository\net\minidev\accessors-smart\2.4.8\accessors-smart-2.4.8.jar;E:\mavenRepository\org\ow2\asm\asm\9.1\asm-9.1.jar;E:\mavenRepository\jakarta\xml\bind\jakarta.xml.bind-api\2.3.3\jakarta.xml.bind-api-2.3.3.jar;E:\mavenRepository\jakarta\activation\jakarta.activation-api\1.2.2\jakarta.activation-api-1.2.2.jar;E:\mavenRepository\org\assertj\assertj-core\3.21.0\assertj-core-3.21.0.jar;E:\mavenRepository\org\hamcrest\hamcrest\2.2\hamcrest-2.2.jar;E:\mavenRepository\org\junit\jupiter\junit-jupiter\5.8.2\junit-jupiter-5.8.2.jar;E:\mavenRepository\org\junit\jupiter\junit-jupiter-api\5.8.2\junit-jupiter-api-5.8.2.jar;E:\mavenRepository\org\opentest4j\opentest4j\1.2.0\opentest4j-1.2.0.jar;E:\mavenRepository\org\junit\platform\junit-platform-commons\1.8.2\junit-platform-commons-1.8.2.jar;E:\mavenRepository\org\apiguardian\apiguardian-api\1.1.2\apiguardian-api-1.1.2.jar;E:\mavenRepository\org\junit\jupiter\junit-jupiter-params\5.8.2\junit-jupiter-params-5.8.2.jar;E:\mavenRepository\org\junit\jupiter\junit-jupiter-engine\5.8.2\junit-jupiter-engine-5.8.2.jar;E:\mavenRepository\org\junit\platform\junit-platform-engine\1.8.2\junit-platform-engine-1.8.2.jar;E:\mavenRepository\org\mockito\mockito-core\4.0.0\mockito-core-4.0.0.jar;E:\mavenRepository\net\bytebuddy\byte-buddy-agent\1.11.22\byte-buddy-agent-1.11.22.jar;E:\mavenRepository\org\objenesis\objenesis\3.2\objenesis-3.2.jar;E:\mavenRepository\org\mockito\mockito-junit-jupiter\4.0.0\mockito-junit-jupiter-4.0.0.jar;E:\mavenRepository\org\skyscreamer\jsonassert\1.5.0\jsonassert-1.5.0.jar;E:\mavenRepository\com\vaadin\external\google\android-json\0.0.20131108.vaadin1\android-json-0.0.20131108.vaadin1.jar;E:\mavenRepository\org\springframework\spring-core\5.3.16\spring-core-5.3.16.jar;E:\mavenRepository\org\springframework\spring-jcl\5.3.16\spring-jcl-5.3.16.jar;E:\mavenRepository\org\springframework\spring-test\5.3.16\spring-test-5.3.16.jar;E:\mavenRepository\org\xmlunit\xmlunit-core\2.8.4\xmlunit-core-2.8.4.jar;E:\mavenRepository\org\springframework\boot\spring-boot-starter-data-redis\2.6.4\spring-boot-starter-data-redis-2.6.4.jar;E:\mavenRepository\org\springframework\data\spring-data-redis\2.6.2\spring-data-redis-2.6.2.jar;E:\mavenRepository\org\springframework\data\spring-data-keyvalue\2.6.2\spring-data-keyvalue-2.6.2.jar;E:\mavenRepository\org\springframework\spring-oxm\5.3.16\spring-oxm-5.3.16.jar;E:\mavenRepository\io\lettuce\lettuce-core\6.1.6.RELEASE\lettuce-core-6.1.6.RELEASE.jar;E:\mavenRepository\io\netty\netty-common\4.1.74.Final\netty-common-4.1.74.Final.jar;E:\mavenRepository\io\netty\netty-handler\4.1.74.Final\netty-handler-4.1.74.Final.jar;E:\mavenRepository\io\netty\netty-resolver\4.1.74.Final\netty-resolver-4.1.74.Final.jar;E:\mavenRepository\io\netty\netty-buffer\4.1.74.Final\netty-buffer-4.1.74.Final.jar;E:\mavenRepository\io\netty\netty-codec\4.1.74.Final\netty-codec-4.1.74.Final.jar;E:\mavenRepository\io\netty\netty-tcnative-classes\2.0.48.Final\netty-tcnative-classes-2.0.48.Final.jar;E:\mavenRepository\io\netty\netty-transport\4.1.74.Final\netty-transport-4.1.74.Final.jar;E:\mavenRepository\io\projectreactor\reactor-core\3.4.15\reactor-core-3.4.15.jar;E:\mavenRepository\org\reactivestreams\reactive-streams\1.0.3\reactive-streams-1.0.3.jar;E:\mavenRepository\org\springframework\boot\spring-boot-starter-cache\2.6.4\spring-boot-starter-cache-2.6.4.jar;E:\mavenRepository\org\springframework\spring-context-support\5.3.16\spring-context-support-5.3.16.jar;E:\mavenRepository\org\projectlombok\lombok\1.18.22\lombok-1.18.22.jar;E:\mavenRepository\mysql\mysql-connector-java\8.0.25\mysql-connector-java-8.0.25.jar;E:\mavenRepository\com\alibaba\druid-spring-boot-starter\1.2.8\druid-spring-boot-starter-1.2.8.jar;E:\mavenRepository\com\alibaba\druid\1.2.8\druid-1.2.8.jar;E:\mavenRepository\org\slf4j\slf4j-api\1.7.36\slf4j-api-1.7.36.jar;E:\mavenRepository\org\jsoup\jsoup\1.14.3\jsoup-1.14.3.jar;E:\mavenRepository\org\apache\httpcomponents\httpclient\4.5.13\httpclient-4.5.13.jar;E:\mavenRepository\org\apache\httpcomponents\httpcore\4.4.15\httpcore-4.4.15.jar;E:\mavenRepository\commons-codec\commons-codec\1.15\commons-codec-1.15.jar;E:\mavenRepository\org\java-websocket\Java-WebSocket\1.5.2\Java-WebSocket-1.5.2.jar;E:\mavenRepository\dom4j\dom4j\1.6.1\dom4j-1.6.1.jar;E:\mavenRepository\xml-apis\xml-apis\1.0.b2\xml-apis-1.0.b2.jar;E:\mavenRepository\cn\hutool\hutool-all\5.8.4\hutool-all-5.8.4.jar;E:\mavenRepository\org\freemarker\freemarker\2.3.31\freemarker-2.3.31.jar" cn.ssy.jx3.plus.Jx3PlusApplication
. _ _ /\ / '_ () \ \ \ \ ( ( )\ | ' | '| | ' \/ ` | \ \ \ \ \/ _)| |)| | | | | || (| | ) ) ) ) ' |__| .|| ||| |\, | / / / / =========|_|==============|__/=//// :: Spring Boot :: (v2.6.4)
2022-11-11 15:55:28.414 INFO 7820 --- [ main] c.s.j.p.Jx3PlusApplication : Starting Jx3PlusApplication using Java 1.8.0_181 on SSY-DELL with PID 7820 (E:\JavaCode\GithubWorkspace\jx3-qq-robot-plus\target\classes started by DELL in E:\JavaCode\IDEAWorkSpace\jx3-qq-robot) 2022-11-11 15:55:28.421 INFO 7820 --- [ main] c.s.j.p.Jx3PlusApplication : No active profile set, falling back to 1 default profile: "default" 2022-11-11 15:55:29.518 INFO 7820 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode! 2022-11-11 15:55:29.519 INFO 7820 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2022-11-11 15:55:29.676 INFO 7820 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 150 ms. Found 20 JPA repository interfaces. 2022-11-11 15:55:30.733 INFO 7820 --- [ main] o.s.b.w.e.t.TomcatWebServer : Tomcat initialized with port(s): 9030 (http) 2022-11-11 15:55:30.742 INFO 7820 --- [ main] o.a.c.c.StandardService : Starting service [Tomcat] 2022-11-11 15:55:30.742 INFO 7820 --- [ main] o.a.c.c.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.58] 2022-11-11 15:55:30.849 INFO 7820 --- [ main] o.a.c.c.C.[.[.[/jx3botPlus] : Initializing Spring embedded WebApplicationContext 2022-11-11 15:55:30.849 INFO 7820 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 2363 ms 2022-11-11 15:55:31.604 INFO 7820 --- [ main] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource 2022-11-11 15:55:31.697 INFO 7820 --- [ main] c.a.d.p.DruidDataSource : {dataSource-1} inited 2022-11-11 15:55:31.795 INFO 7820 --- [ main] o.h.j.i.u.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2022-11-11 15:55:31.836 INFO 7820 --- [ main] o.h.Version : HHH000412: Hibernate ORM core version 5.6.5.Final 2022-11-11 15:55:31.954 INFO 7820 --- [ main] o.h.a.c.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} 2022-11-11 15:55:32.353 INFO 7820 --- [ main] o.h.d.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect 2022-11-11 15:55:32.953 INFO 7820 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2022-11-11 15:55:32.964 INFO 7820 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2022-11-11 15:55:34.254 WARN 7820 --- [ispatcherThread] .s.b.StandardBotVerifyInfoDecoderFactory : Unable to find the com.charleskorn.kaml:kaml in current classpath, the bot configuration parser in .bot.yaml format will not be available. 2022-11-11 15:55:34.254 WARN 7820 --- [ispatcherThread] .s.b.StandardBotVerifyInfoDecoderFactory : Unable to find the kotlinx-serialization-properties in current classpath, the bot configuration parser in .bot.properties format will not be available. 2022-11-11 15:55:34.258 WARN 7820 --- [ispatcherThread] s.a.a.SpringBootApplicationConfiguration : Can not resolve resource path 「simbot-bots/.bot」: class path resource [simbot-bots/] cannot be resolved to URL because it does not exist, just use empty resources. 2022-11-11 15:55:34.422 WARN 7820 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'simbotSpringBootApplication' defined in love.forte.simboot.spring.autoconfigure.SimbotSpringBootApplicationConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [love.forte.simboot.spring.autoconfigure.application.SpringBootApplication]: Factory method 'simbotSpringBootApplication' threw exception; nested exception is java.util.ServiceConfigurationError: net.mamoe.mirai.IMirai: Provider net.mamoe.mirai.internal.MiraiImpl could not be instantiated 2022-11-11 15:55:34.425 INFO 7820 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2022-11-11 15:55:34.426 INFO 7820 --- [ main] c.a.d.p.DruidDataSource : {dataSource-1} closing ... 2022-11-11 15:55:34.430 INFO 7820 --- [ main] c.a.d.p.DruidDataSource : {dataSource-1} closed 2022-11-11 15:55:34.441 INFO 7820 --- [ main] o.a.c.c.StandardService : Stopping service [Tomcat] 2022-11-11 15:55:34.458 INFO 7820 --- [ main] ConditionEvaluationReportLoggingListener :
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2022-11-11 15:55:34.476 ERROR 7820 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
APPLICATION FAILED TO START
Description:
An attempt was made to call a method that does not exist. The attempt was made from the following location:
net.mamoe.mirai.internal.deps.io.ktor.client.utils.CoroutineDispatcherUtilsKt.clientDispatcher(CoroutineDispatcherUtils.kt:22)
The following method did not exist:
kotlinx.coroutines.CoroutineDispatcher.limitedParallelism(I)Lkotlinx/coroutines/CoroutineDispatcher;
The calling method's class, net.mamoe.mirai.internal.deps.io.ktor.client.utils.CoroutineDispatcherUtilsKt, was loaded from the following location:
jar:file:/E:/mavenRepository/net/mamoe/mirai-core-jvm/2.13.0-RC2/mirai-core-jvm-2.13.0-RC2.jar!/net/mamoe/mirai/internal/deps/io/ktor/client/utils/CoroutineDispatcherUtilsKt.class
The called method's class, kotlinx.coroutines.CoroutineDispatcher, is available from the following locations:
jar:file:/E:/mavenRepository/org/jetbrains/kotlinx/kotlinx-coroutines-core-jvm/1.5.2/kotlinx-coroutines-core-jvm-1.5.2.jar!/kotlinx/coroutines/CoroutineDispatcher.class
The called method's class hierarchy was loaded from the following locations:
kotlinx.coroutines.CoroutineDispatcher: file:/E:/mavenRepository/org/jetbrains/kotlinx/kotlinx-coroutines-core-jvm/1.5.2/kotlinx-coroutines-core-jvm-1.5.2.jar
kotlin.coroutines.AbstractCoroutineContextElement: file:/E:/mavenRepository/org/jetbrains/kotlin/kotlin-stdlib/1.6.10/kotlin-stdlib-1.6.10.jar
Action:
Correct the classpath of your application so that it contains compatible versions of the classes net.mamoe.mirai.internal.deps.io.ktor.client.utils.CoroutineDispatcherUtilsKt and kotlinx.coroutines.CoroutineDispatcher
Process finished with exit code 1 `
The following method did not exist: kotlinx.coroutines.CoroutineDispatcher.limitedParallelism(I)Lkotlinx/coroutines/CoroutineDispatcher;
see: CoroutineDispatcher.kt#L70-L108。从日志看你项目中的 kotlinx.coroutines 版本为 v1.5.2
,而此版本没有此API(参考 此处 )
尝试:将Spring Boot更新到最新版本(例如 v2.7.5
)或通过 properties
标签(使用Maven时)指定 kotlin-coroutines.version
为较新的版本(参考 Spring Boot依赖版本),例如 v1.6.4
:
<properties>
<kotlin-coroutines.version>1.6.4</kotlin-coroutines.version>
</properties>
低版本的SpringBoot大概率还会覆盖Kotlin的版本,如果出现类似的版本冲突,尝试使用相似的方法解决。
The following method did not exist: kotlinx.coroutines.CoroutineDispatcher.limitedParallelism(I)Lkotlinx/coroutines/CoroutineDispatcher;
see: CoroutineDispatcher.kt#L70-L108。从日志看你项目中的 kotlinx.coroutines 版本为
v1.5.2
,而此版本没有此API(参考 此处 )尝试:将Spring Boot更新到最新版本(例如
v2.7.5
)或通过properties
标签(使用Maven时)指定kotlin-coroutines.version
为较新的版本(参考 Spring Boot依赖版本),例如v1.6.4
:<properties> <kotlin-coroutines.version>1.6.4</kotlin-coroutines.version> </properties>
低版本的SpringBoot大概率还会覆盖Kotlin的版本,如果出现类似的版本冲突,尝试使用相似的方法解决。
我将springboot-parent的版本调整到了v2.7.5,但是启动时提示事件生产者工厂的数量为0,导致没有启起来,随后我尝试还原springboot版本,仅指定kotlin-coroutines的版本,但也出现上述现象,日志如下:
` Connected to the target VM, address: '127.0.0.1:1526', transport: 'socket'
. _ _ /\ / '_ () \ \ \ \ ( ( )\ | ' | '| | ' \/ ` | \ \ \ \ \/ _)| |)| | | | | || (| | ) ) ) ) ' |__| .|| ||| |\, | / / / / =========|_|==============|__/=//// :: Spring Boot :: (v2.7.5)
2022-11-12 08:54:56.205 INFO 16760 --- [ main] c.s.j.p.Jx3PlusApplication : Starting Jx3PlusApplication using Java 1.8.0_181 on SSY-DELL with PID 16760 (E:\JavaCode\GithubWorkspace\jx3-qq-robot-plus\target\classes started by DELL in E:\JavaCode\IDEAWorkSpace\jx3-qq-robot) 2022-11-12 08:54:56.237 INFO 16760 --- [ main] c.s.j.p.Jx3PlusApplication : No active profile set, falling back to 1 default profile: "default" 2022-11-12 08:54:57.676 INFO 16760 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2022-11-12 08:54:57.676 INFO 16760 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2022-11-12 08:54:57.845 INFO 16760 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 160 ms. Found 20 JPA repository interfaces. 2022-11-12 08:54:59.182 INFO 16760 --- [ main] o.s.b.w.e.t.TomcatWebServer : Tomcat initialized with port(s): 9030 (http) 2022-11-12 08:54:59.192 INFO 16760 --- [ main] o.a.c.c.StandardService : Starting service [Tomcat] 2022-11-12 08:54:59.192 INFO 16760 --- [ main] o.a.c.c.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.68] 2022-11-12 08:54:59.339 INFO 16760 --- [ main] o.a.c.c.C.[.[.[/jx3botPlus] : Initializing Spring embedded WebApplicationContext 2022-11-12 08:54:59.339 INFO 16760 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 3048 ms 2022-11-12 08:55:00.122 INFO 16760 --- [ main] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource 2022-11-12 08:55:00.239 INFO 16760 --- [ main] c.a.d.p.DruidDataSource : {dataSource-1} inited 2022-11-12 08:55:00.361 INFO 16760 --- [ main] o.h.j.i.u.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2022-11-12 08:55:00.415 INFO 16760 --- [ main] o.h.Version : HHH000412: Hibernate ORM core version 5.6.12.Final 2022-11-12 08:55:00.587 INFO 16760 --- [ main] o.h.a.c.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} 2022-11-12 08:55:01.043 INFO 16760 --- [ main] o.h.d.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect 2022-11-12 08:55:01.844 INFO 16760 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2022-11-12 08:55:01.855 INFO 16760 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2022-11-12 08:55:03.546 WARN 16760 --- [ispatcherThread] .s.b.StandardBotVerifyInfoDecoderFactory : Unable to find the com.charleskorn.kaml:kaml in current classpath, the bot configuration parser in .bot.yaml format will not be available. 2022-11-12 08:55:03.546 WARN 16760 --- [ispatcherThread] .s.b.StandardBotVerifyInfoDecoderFactory : Unable to find the kotlinx-serialization-properties in current classpath, the bot configuration parser in .bot.properties format will not be available. 2022-11-12 08:55:03.833 INFO 16760 --- [ispatcherThread] otEventProviderAutoInstallBuildConfigure : The number of Installable Event Provider Factory is 0 2022-11-12 08:55:03.833 INFO 16760 --- [ispatcherThread] otEventProviderAutoInstallBuildConfigure : Install Event Providers by [installAllEventProviders] `
尝试使用依赖 simbot-component-mirai-core
而不是 simbot-component-mirai-boot
尝试使用依赖
simbot-component-mirai-core
而不是simbot-component-mirai-core
抱歉,没看出两者有什么区别,我依赖的是simbot-component-mirai-boot,当我换成simbot-component-mirai-core时,启动时出现同样的现象
2022-11-12 08:55:03.833 INFO 16760 --- [ispatcherThread] otEventProviderAutoInstallBuildConfigure : The number of Installable Event Provider Factory is 0 2022-11-12 08:55:03.833 INFO 16760 --- [ispatcherThread] otEventProviderAutoInstallBuildConfigure : Install Event Providers by [installAllEventProviders]
这只是代表:“由用户手动指定的 factory 为0,并将尝试使用 installAllEventProviders
自动加载”,而真正加载的结果是后续可能出现的日志:The size of providers built is xx
如果整个程序启动失败,请提供完整的日志以及这过程中出现的异常。
如果整个程序启动失败,请提供完整的日志以及这过程中出现的异常。
感谢解答,我贴出来的就是控制台的全部日志,后续没有任何日志打印了,如下图:
我尝试清空过simbot-component-mirai-core的maven仓库目录,让它重新下载,但是没有起作用
下图是我的项目路径:
以下是我的bot配置:
{ "component": "simbot.mirai", "code": 1435603250, "passwordMD5": "4ff15c7011e74f7cbf7a4a06ed96e1e2", "config": { "recallMessageCacheStrategy": "MEMORY_LRU", "protocol": "ANDROID_PAD" }, "deviceInfoJson": { "display": [ 77, 73, 82, 65, 73, 46, 56, 57, 52, 49, 54, 52, 46, 48, 48, 49 ], "product": [ 109, 105, 114, 97, 105 ], "device": [ 109, 105, 114, 97, 105 ], "board": [ 109, 105, 114, 97, 105 ], "brand": [ 109, 97, 109, 111, 101 ], "model": [ 109, 105, 114, 97, 105 ], "bootloader": [ 117, 110, 107, 110, 111, 119, 110 ], "fingerprint": [ 109, 97, 109, 111, 101, 47, 109, 105, 114, 97, 105, 47, 109, 105, 114, 97, 105, 58, 49, 48, 47, 77, 73, 82, 65, 73, 46, 50, 48, 48, 49, 50, 50, 46, 48, 48, 49, 47, 51, 52, 51, 52, 56, 54, 51, 58, 117, 115, 101, 114, 47, 114, 101, 108, 101, 97, 115, 101, 45, 107, 101, 121, 115 ], "bootId": [ 54, 49, 65, 65, 66, 69, 56, 69, 45, 65, 67, 49, 69, 45, 57, 65, 53, 65, 45, 53, 56, 48, 52, 45, 52, 54, 54, 50, 55, 48, 49, 52, 51, 51, 54, 70 ], "procVersion": [ 76, 105, 110, 117, 120, 32, 118, 101, 114, 115, 105, 111, 110, 32, 51, 46, 48, 46, 51, 49, 45, 56, 80, 75, 50, 88, 54, 112, 111, 32, 40, 97, 110, 100, 114, 111, 105, 100, 45, 98, 117, 105, 108, 100, 64, 120, 120, 120, 46, 120, 120, 120, 46, 120, 120, 120, 46, 120, 120, 120, 46, 99, 111, 109, 41 ], "baseBand": [ ], "version": { "incremental": [ 53, 56, 57, 49, 57, 51, 56 ], "release": [ 49, 48 ], "codename": [ 82, 69, 76 ] }, "simInfo": [ 84, 45, 77, 111, 98, 105, 108, 101 ], "osType": [ 97, 110, 100, 114, 111, 105, 100 ], "macAddress": [ 48, 50, 58, 48, 48, 58, 48, 48, 58, 48, 48, 58, 48, 48, 58, 48, 48 ], "wifiBSSID": [ 48, 50, 58, 48, 48, 58, 48, 48, 58, 48, 48, 58, 48, 48, 58, 48, 48 ], "wifiSSID": [ 60, 117, 110, 107, 110, 111, 119, 110, 32, 115, 115, 105, 100, 62 ], "imsiMd5": [ -7, -33, -97, -38, 67, 1, 75, 64, 1, -30, -123, 106, 106, 108, -20, -91 ], "imei": "096972954137479", "apn": [ 119, 105, 102, 105 ] } }
本地测试未复现此问题,或许可以尝试:
@Configuration
public class MyEventProviderAndComponentInstallConfiguration {
@Bean
public MiraiComponent.Factory miraiComponentFactory() {
return MiraiComponent.Factory;
}
@Bean
public MiraiBotManager.Factory miraiBotManager() {
return MiraiBotManager.Factory;
}
}
本地测试未复现此问题,或许可以尝试:
- 暂时不注册任何bot,直接启动看看效果
- 使用错误的账号密码启动,看看是否会引发异常
- 临时使用手动指定Component工厂和EventProvider工厂的方式,观察效果:
@Configuration public class MyEventProviderAndComponentInstallConfiguration { @Bean public MiraiComponent.Factory miraiComponentFactory() { return MiraiComponent.Factory; } @Bean public MiraiBotManager.Factory miraiBotManager() { return MiraiBotManager.Factory; } }
1、除了报找不到simbot目录外仍阻塞在The number of Installable Event Provider Factory 2、与之前没有区别 3、日志打印的factory数量变成了1,但是仍阻塞:The number of Installable Event Provider Factory is 1
尝试在服务器上运行了一下,仍阻塞:
当我按照https://github.com/simple-robot/simbot-component-mirai/tags的tags不断降级,直到v3.0.0.0-beta-M2(对应核心版本v3.0.0-beta-RC.1)的时候,启动能够出现滑块校验链接,但是该版本有“当前QQ版本过低”的问题,目前无法使用。 启动日志如下: `"C:\Program Files\Java\jdk1.8.0_181\bin\java.exe" -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always "-javaagent:D:\develop\IntelliJ IDEA 2021.2\lib\idea_rt.jar=51161:D:\develop\IntelliJ IDEA 2021.2\bin" -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Java\jdk1.8.0_181\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\zipfs.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\rt.jar;E:\JavaCode\GithubWorkspace\jx3-qq-robot-plus\target\classes;E:\mavenRepository\love\forte\simbot\boot\simboot-core-spring-boot-starter\3.0.0-beta-RC.1\simboot-core-spring-boot-starter-3.0.0-beta-RC.1.jar;E:\mavenRepository\love\forte\simbot\boot\simboot-core\3.0.0-beta-RC.1\simboot-core-3.0.0-beta-RC.1.jar;E:\mavenRepository\love\forte\simbot\boot\simboot-api\3.0.0-beta-RC.1\simboot-api-3.0.0-beta-RC.1.jar;E:\mavenRepository\love\forte\simbot\simbot-core\3.0.0-beta-RC.1\simbot-core-3.0.0-beta-RC.1.jar;E:\mavenRepository\love\forte\simbot\simbot-api\3.0.0-beta-RC.1\simbot-api-3.0.0-beta-RC.1.jar;E:\mavenRepository\org\jetbrains\kotlinx\kotlinx-coroutines-jdk8\1.6.4\kotlinx-coroutines-jdk8-1.6.4.jar;E:\mavenRepository\love\forte\simbot\boot\simboot-core-annotation\3.0.0-beta-RC.1\simboot-core-annotation-3.0.0-beta-RC.1.jar;E:\mavenRepository\org\jetbrains\kotlinx\kotlinx-coroutines-core-jvm\1.6.4\kotlinx-coroutines-core-jvm-1.6.4.jar;E:\mavenRepository\org\jetbrains\kotlinx\kotlinx-serialization-core-jvm\1.3.3\kotlinx-serialization-core-jvm-1.3.3.jar;E:\mavenRepository\love\forte\di\di-core\0.0.3\di-core-0.0.3.jar;E:\mavenRepository\love\forte\annotation-tool\kcore\0.6.3\kcore-0.6.3.jar;E:\mavenRepository\love\forte\annotation-tool\api\0.6.3\api-0.6.3.jar;E:\mavenRepository\javax\inject\javax.inject\1\javax.inject-1.jar;E:\mavenRepository\love\forte\di\di-spring\0.0.3\di-spring-0.0.3.jar;E:\mavenRepository\love\forte\di\di-api\0.0.3\di-api-0.0.3.jar;E:\mavenRepository\org\jetbrains\kotlin\kotlin-reflect\1.6.21\kotlin-reflect-1.6.21.jar;E:\mavenRepository\org\springframework\spring-context\5.3.23\spring-context-5.3.23.jar;E:\mavenRepository\org\jetbrains\kotlin\kotlin-stdlib-jdk8\1.6.21\kotlin-stdlib-jdk8-1.6.21.jar;E:\mavenRepository\org\jetbrains\kotlin\kotlin-stdlib\1.6.21\kotlin-stdlib-1.6.21.jar;E:\mavenRepository\org\jetbrains\annotations\13.0\annotations-13.0.jar;E:\mavenRepository\org\jetbrains\kotlin\kotlin-stdlib-jdk7\1.6.21\kotlin-stdlib-jdk7-1.6.21.jar;E:\mavenRepository\org\springframework\boot\spring-boot-autoconfigure\2.7.5\spring-boot-autoconfigure-2.7.5.jar;E:\mavenRepository\org\springframework\boot\spring-boot\2.7.5\spring-boot-2.7.5.jar;E:\mavenRepository\org\springframework\boot\spring-boot-configuration-processor\2.7.5\spring-boot-configuration-processor-2.7.5.jar;E:\mavenRepository\love\forte\simbot\component\simbot-component-mirai-core\3.0.0.0-beta-M2\simbot-component-mirai-core-3.0.0.0-beta-M2.jar;E:\mavenRepository\net\mamoe\mirai-core-jvm\2.12.1\mirai-core-jvm-2.12.1.jar;E:\mavenRepository\net\mamoe\mirai-core-api-jvm\2.12.1\mirai-core-api-jvm-2.12.1.jar;E:\mavenRepository\io\ktor\ktor-client-okhttp\1.6.7\ktor-client-okhttp-1.6.7.jar;E:\mavenRepository\io\ktor\ktor-client-core-jvm\1.6.7\ktor-client-core-jvm-1.6.7.jar;E:\mavenRepository\io\ktor\ktor-http-jvm\1.6.7\ktor-http-jvm-1.6.7.jar;E:\mavenRepository\io\ktor\ktor-utils-jvm\1.6.7\ktor-utils-jvm-1.6.7.jar;E:\mavenRepository\io\ktor\ktor-io-jvm\1.6.7\ktor-io-jvm-1.6.7.jar;E:\mavenRepository\io\ktor\ktor-http-cio-jvm\1.6.7\ktor-http-cio-jvm-1.6.7.jar;E:\mavenRepository\io\ktor\ktor-network-jvm\1.6.7\ktor-network-jvm-1.6.7.jar;E:\mavenRepository\com\squareup\okhttp3\okhttp\4.9.3\okhttp-4.9.3.jar;E:\mavenRepository\com\squareup\okio\okio\2.8.0\okio-2.8.0.jar;E:\mavenRepository\net\mamoe\mirai-console-compiler-annotations-jvm\2.12.1\mirai-console-compiler-annotations-jvm-2.12.1.jar;E:\mavenRepository\me\him188\kotlin-jvm-blocking-bridge-runtime-jvm\2.0.0-162.1\kotlin-jvm-blocking-bridge-runtime-jvm-2.0.0-162.1.jar;E:\mavenRepository\me\him188\kotlin-dynamic-delegation-jvm\0.3.0-162.4\kotlin-dynamic-delegation-jvm-0.3.0-162.4.jar;E:\mavenRepository\net\mamoe\mirai-core-utils-jvm\2.12.1\mirai-core-utils-jvm-2.12.1.jar;E:\mavenRepository\org\jetbrains\kotlinx\kotlinx-serialization-protobuf-jvm\1.3.2\kotlinx-serialization-protobuf-jvm-1.3.2.jar;E:\mavenRepository\org\jetbrains\kotlinx\atomicfu-jvm\0.17.2\atomicfu-jvm-0.17.2.jar;E:\mavenRepository\io\netty\netty-all\4.1.84.Final\netty-all-4.1.84.Final.jar;E:\mavenRepository\io\netty\netty-buffer\4.1.84.Final\netty-buffer-4.1.84.Final.jar;E:\mavenRepository\io\netty\netty-codec\4.1.84.Final\netty-codec-4.1.84.Final.jar;E:\mavenRepository\io\netty\netty-codec-dns\4.1.84.Final\netty-codec-dns-4.1.84.Final.jar;E:\mavenRepository\io\netty\netty-codec-haproxy\4.1.84.Final\netty-codec-haproxy-4.1.84.Final.jar;E:\mavenRepository\io\netty\netty-codec-http\4.1.84.Final\netty-codec-http-4.1.84.Final.jar;E:\mavenRepository\io\netty\netty-codec-http2\4.1.84.Final\netty-codec-http2-4.1.84.Final.jar;E:\mavenRepository\io\netty\netty-codec-memcache\4.1.84.Final\netty-codec-memcache-4.1.84.Final.jar;E:\mavenRepository\io\netty\netty-codec-mqtt\4.1.84.Final\netty-codec-mqtt-4.1.84.Final.jar;E:\mavenRepository\io\netty\netty-codec-redis\4.1.84.Final\netty-codec-redis-4.1.84.Final.jar;E:\mavenRepository\io\netty\netty-codec-smtp\4.1.84.Final\netty-codec-smtp-4.1.84.Final.jar;E:\mavenRepository\io\netty\netty-codec-socks\4.1.84.Final\netty-codec-socks-4.1.84.Final.jar;E:\mavenRepository\io\netty\netty-codec-stomp\4.1.84.Final\netty-codec-stomp-4.1.84.Final.jar;E:\mavenRepository\io\netty\netty-codec-xml\4.1.84.Final\netty-codec-xml-4.1.84.Final.jar;E:\mavenRepository\io\netty\netty-transport-native-unix-common\4.1.84.Final\netty-transport-native-unix-common-4.1.84.Final.jar;E:\mavenRepository\io\netty\netty-handler-proxy\4.1.84.Final\netty-handler-proxy-4.1.84.Final.jar;E:\mavenRepository\io\netty\netty-resolver\4.1.84.Final\netty-resolver-4.1.84.Final.jar;E:\mavenRepository\io\netty\netty-resolver-dns\4.1.84.Final\netty-resolver-dns-4.1.84.Final.jar;E:\mavenRepository\io\netty\netty-transport-rxtx\4.1.84.Final\netty-transport-rxtx-4.1.84.Final.jar;E:\mavenRepository\io\netty\netty-transport-sctp\4.1.84.Final\netty-transport-sctp-4.1.84.Final.jar;E:\mavenRepository\io\netty\netty-transport-udt\4.1.84.Final\netty-transport-udt-4.1.84.Final.jar;E:\mavenRepository\io\netty\netty-transport-classes-epoll\4.1.84.Final\netty-transport-classes-epoll-4.1.84.Final.jar;E:\mavenRepository\io\netty\netty-transport-classes-kqueue\4.1.84.Final\netty-transport-classes-kqueue-4.1.84.Final.jar;E:\mavenRepository\io\netty\netty-resolver-dns-classes-macos\4.1.84.Final\netty-resolver-dns-classes-macos-4.1.84.Final.jar;E:\mavenRepository\io\netty\netty-transport-native-epoll\4.1.84.Final\netty-transport-native-epoll-4.1.84.Final-linux-x86_64.jar;E:\mavenRepository\io\netty\netty-transport-native-epoll\4.1.84.Final\netty-transport-native-epoll-4.1.84.Final-linux-aarch_64.jar;E:\mavenRepository\io\netty\netty-transport-native-kqueue\4.1.84.Final\netty-transport-native-kqueue-4.1.84.Final-osx-x86_64.jar;E:\mavenRepository\io\netty\netty-transport-native-kqueue\4.1.84.Final\netty-transport-native-kqueue-4.1.84.Final-osx-aarch_64.jar;E:\mavenRepository\io\netty\netty-resolver-dns-native-macos\4.1.84.Final\netty-resolver-dns-native-macos-4.1.84.Final-osx-x86_64.jar;E:\mavenRepository\io\netty\netty-resolver-dns-native-macos\4.1.84.Final\netty-resolver-dns-native-macos-4.1.84.Final-osx-aarch_64.jar;E:\mavenRepository\org\apache\logging\log4j\log4j-api\2.17.1\log4j-api-2.17.1.jar;E:\mavenRepository\org\bouncycastle\bcprov-jdk15on\1.64\bcprov-jdk15on-1.64.jar;E:\mavenRepository\org\jetbrains\kotlinx\kotlinx-io-jvm\0.1.16\kotlinx-io-jvm-0.1.16.jar;E:\mavenRepository\org\jetbrains\kotlinx\kotlinx-io\0.1.16\kotlinx-io-0.1.16.jar;E:\mavenRepository\org\jetbrains\kotlinx\kotlinx-serialization-json-jvm\1.3.3\kotlinx-serialization-json-jvm-1.3.3.jar;E:\mavenRepository\org\jetbrains\kotlin\kotlin-stdlib-common\1.6.21\kotlin-stdlib-common-1.6.21.jar;E:\mavenRepository\org\springframework\boot\spring-boot-starter-data-jpa\2.7.5\spring-boot-starter-data-jpa-2.7.5.jar;E:\mavenRepository\org\springframework\boot\spring-boot-starter-aop\2.7.5\spring-boot-starter-aop-2.7.5.jar;E:\mavenRepository\org\springframework\spring-aop\5.3.23\spring-aop-5.3.23.jar;E:\mavenRepository\org\aspectj\aspectjweaver\1.9.7\aspectjweaver-1.9.7.jar;E:\mavenRepository\org\springframework\boot\spring-boot-starter-jdbc\2.7.5\spring-boot-starter-jdbc-2.7.5.jar;E:\mavenRepository\com\zaxxer\HikariCP\4.0.3\HikariCP-4.0.3.jar;E:\mavenRepository\org\springframework\spring-jdbc\5.3.23\spring-jdbc-5.3.23.jar;E:\mavenRepository\jakarta\transaction\jakarta.transaction-api\1.3.3\jakarta.transaction-api-1.3.3.jar;E:\mavenRepository\jakarta\persistence\jakarta.persistence-api\2.2.3\jakarta.persistence-api-2.2.3.jar;E:\mavenRepository\org\hibernate\hibernate-core\5.6.12.Final\hibernate-core-5.6.12.Final.jar;E:\mavenRepository\org\jboss\logging\jboss-logging\3.4.3.Final\jboss-logging-3.4.3.Final.jar;E:\mavenRepository\net\bytebuddy\byte-buddy\1.12.18\byte-buddy-1.12.18.jar;E:\mavenRepository\antlr\antlr\2.7.7\antlr-2.7.7.jar;E:\mavenRepository\org\jboss\jandex\2.4.2.Final\jandex-2.4.2.Final.jar;E:\mavenRepository\com\fasterxml\classmate\1.5.1\classmate-1.5.1.jar;E:\mavenRepository\org\hibernate\common\hibernate-commons-annotations\5.1.2.Final\hibernate-commons-annotations-5.1.2.Final.jar;E:\mavenRepository\org\glassfish\jaxb\jaxb-runtime\2.3.7\jaxb-runtime-2.3.7.jar;E:\mavenRepository\org\glassfish\jaxb\txw2\2.3.7\txw2-2.3.7.jar;E:\mavenRepository\com\sun\istack\istack-commons-runtime\3.0.12\istack-commons-runtime-3.0.12.jar;E:\mavenRepository\com\sun\activation\jakarta.activation\1.2.2\jakarta.activation-1.2.2.jar;E:\mavenRepository\org\springframework\data\spring-data-jpa\2.7.5\spring-data-jpa-2.7.5.jar;E:\mavenRepository\org\springframework\data\spring-data-commons\2.7.5\spring-data-commons-2.7.5.jar;E:\mavenRepository\org\springframework\spring-orm\5.3.23\spring-orm-5.3.23.jar;E:\mavenRepository\org\springframework\spring-tx\5.3.23\spring-tx-5.3.23.jar;E:\mavenRepository\org\springframework\spring-beans\5.3.23\spring-beans-5.3.23.jar;E:\mavenRepository\org\springframework\spring-aspects\5.3.23\spring-aspects-5.3.23.jar;E:\mavenRepository\org\springframework\boot\spring-boot-starter-log4j2\2.7.5\spring-boot-starter-log4j2-2.7.5.jar;E:\mavenRepository\org\apache\logging\log4j\log4j-slf4j-impl\2.17.1\log4j-slf4j-impl-2.17.1.jar;E:\mavenRepository\org\apache\logging\log4j\log4j-core\2.17.1\log4j-core-2.17.1.jar;E:\mavenRepository\org\apache\logging\log4j\log4j-jul\2.17.1\log4j-jul-2.17.1.jar;E:\mavenRepository\org\slf4j\jul-to-slf4j\1.7.36\jul-to-slf4j-1.7.36.jar;E:\mavenRepository\org\springframework\boot\spring-boot-starter-web\2.7.5\spring-boot-starter-web-2.7.5.jar;E:\mavenRepository\org\springframework\boot\spring-boot-starter\2.7.5\spring-boot-starter-2.7.5.jar;E:\mavenRepository\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;E:\mavenRepository\org\yaml\snakeyaml\1.30\snakeyaml-1.30.jar;E:\mavenRepository\org\springframework\boot\spring-boot-starter-json\2.7.5\spring-boot-starter-json-2.7.5.jar;E:\mavenRepository\com\fasterxml\jackson\core\jackson-databind\2.13.4.2\jackson-databind-2.13.4.2.jar;E:\mavenRepository\com\fasterxml\jackson\core\jackson-annotations\2.13.4\jackson-annotations-2.13.4.jar;E:\mavenRepository\com\fasterxml\jackson\core\jackson-core\2.13.4\jackson-core-2.13.4.jar;E:\mavenRepository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.13.4\jackson-datatype-jdk8-2.13.4.jar;E:\mavenRepository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.13.4\jackson-datatype-jsr310-2.13.4.jar;E:\mavenRepository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.13.4\jackson-module-parameter-names-2.13.4.jar;E:\mavenRepository\org\springframework\boot\spring-boot-starter-tomcat\2.7.5\spring-boot-starter-tomcat-2.7.5.jar;E:\mavenRepository\org\apache\tomcat\embed\tomcat-embed-core\9.0.68\tomcat-embed-core-9.0.68.jar;E:\mavenRepository\org\apache\tomcat\embed\tomcat-embed-el\9.0.68\tomcat-embed-el-9.0.68.jar;E:\mavenRepository\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.68\tomcat-embed-websocket-9.0.68.jar;E:\mavenRepository\org\springframework\spring-web\5.3.23\spring-web-5.3.23.jar;E:\mavenRepository\org\springframework\spring-webmvc\5.3.23\spring-webmvc-5.3.23.jar;E:\mavenRepository\org\springframework\spring-expression\5.3.23\spring-expression-5.3.23.jar;E:\mavenRepository\org\springframework\boot\spring-boot-starter-test\2.7.5\spring-boot-starter-test-2.7.5.jar;E:\mavenRepository\org\springframework\boot\spring-boot-test\2.7.5\spring-boot-test-2.7.5.jar;E:\mavenRepository\org\springframework\boot\spring-boot-test-autoconfigure\2.7.5\spring-boot-test-autoconfigure-2.7.5.jar;E:\mavenRepository\com\jayway\jsonpath\json-path\2.7.0\json-path-2.7.0.jar;E:\mavenRepository\net\minidev\json-smart\2.4.8\json-smart-2.4.8.jar;E:\mavenRepository\net\minidev\accessors-smart\2.4.8\accessors-smart-2.4.8.jar;E:\mavenRepository\org\ow2\asm\asm\9.1\asm-9.1.jar;E:\mavenRepository\jakarta\xml\bind\jakarta.xml.bind-api\2.3.3\jakarta.xml.bind-api-2.3.3.jar;E:\mavenRepository\jakarta\activation\jakarta.activation-api\1.2.2\jakarta.activation-api-1.2.2.jar;E:\mavenRepository\org\assertj\assertj-core\3.22.0\assertj-core-3.22.0.jar;E:\mavenRepository\org\hamcrest\hamcrest\2.2\hamcrest-2.2.jar;E:\mavenRepository\org\junit\jupiter\junit-jupiter\5.8.2\junit-jupiter-5.8.2.jar;E:\mavenRepository\org\junit\jupiter\junit-jupiter-api\5.8.2\junit-jupiter-api-5.8.2.jar;E:\mavenRepository\org\opentest4j\opentest4j\1.2.0\opentest4j-1.2.0.jar;E:\mavenRepository\org\junit\platform\junit-platform-commons\1.8.2\junit-platform-commons-1.8.2.jar;E:\mavenRepository\org\apiguardian\apiguardian-api\1.1.2\apiguardian-api-1.1.2.jar;E:\mavenRepository\org\junit\jupiter\junit-jupiter-params\5.8.2\junit-jupiter-params-5.8.2.jar;E:\mavenRepository\org\junit\jupiter\junit-jupiter-engine\5.8.2\junit-jupiter-engine-5.8.2.jar;E:\mavenRepository\org\junit\platform\junit-platform-engine\1.8.2\junit-platform-engine-1.8.2.jar;E:\mavenRepository\org\mockito\mockito-core\4.5.1\mockito-core-4.5.1.jar;E:\mavenRepository\net\bytebuddy\byte-buddy-agent\1.12.18\byte-buddy-agent-1.12.18.jar;E:\mavenRepository\org\objenesis\objenesis\3.2\objenesis-3.2.jar;E:\mavenRepository\org\mockito\mockito-junit-jupiter\4.5.1\mockito-junit-jupiter-4.5.1.jar;E:\mavenRepository\org\skyscreamer\jsonassert\1.5.1\jsonassert-1.5.1.jar;E:\mavenRepository\com\vaadin\external\google\android-json\0.0.20131108.vaadin1\android-json-0.0.20131108.vaadin1.jar;E:\mavenRepository\org\springframework\spring-core\5.3.23\spring-core-5.3.23.jar;E:\mavenRepository\org\springframework\spring-jcl\5.3.23\spring-jcl-5.3.23.jar;E:\mavenRepository\org\springframework\spring-test\5.3.23\spring-test-5.3.23.jar;E:\mavenRepository\org\xmlunit\xmlunit-core\2.9.0\xmlunit-core-2.9.0.jar;E:\mavenRepository\org\springframework\boot\spring-boot-starter-data-redis\2.7.5\spring-boot-starter-data-redis-2.7.5.jar;E:\mavenRepository\org\springframework\data\spring-data-redis\2.7.5\spring-data-redis-2.7.5.jar;E:\mavenRepository\org\springframework\data\spring-data-keyvalue\2.7.5\spring-data-keyvalue-2.7.5.jar;E:\mavenRepository\org\springframework\spring-oxm\5.3.23\spring-oxm-5.3.23.jar;E:\mavenRepository\io\lettuce\lettuce-core\6.1.10.RELEASE\lettuce-core-6.1.10.RELEASE.jar;E:\mavenRepository\io\netty\netty-common\4.1.84.Final\netty-common-4.1.84.Final.jar;E:\mavenRepository\io\netty\netty-handler\4.1.84.Final\netty-handler-4.1.84.Final.jar;E:\mavenRepository\io\netty\netty-transport\4.1.84.Final\netty-transport-4.1.84.Final.jar;E:\mavenRepository\io\projectreactor\reactor-core\3.4.24\reactor-core-3.4.24.jar;E:\mavenRepository\org\reactivestreams\reactive-streams\1.0.4\reactive-streams-1.0.4.jar;E:\mavenRepository\org\springframework\boot\spring-boot-starter-cache\2.7.5\spring-boot-starter-cache-2.7.5.jar;E:\mavenRepository\org\springframework\spring-context-support\5.3.23\spring-context-support-5.3.23.jar;E:\mavenRepository\org\projectlombok\lombok\1.18.22\lombok-1.18.22.jar;E:\mavenRepository\mysql\mysql-connector-java\8.0.25\mysql-connector-java-8.0.25.jar;E:\mavenRepository\com\alibaba\druid-spring-boot-starter\1.2.8\druid-spring-boot-starter-1.2.8.jar;E:\mavenRepository\com\alibaba\druid\1.2.8\druid-1.2.8.jar;E:\mavenRepository\org\slf4j\slf4j-api\1.7.36\slf4j-api-1.7.36.jar;E:\mavenRepository\org\jsoup\jsoup\1.14.3\jsoup-1.14.3.jar;E:\mavenRepository\org\apache\httpcomponents\httpclient\4.5.13\httpclient-4.5.13.jar;E:\mavenRepository\org\apache\httpcomponents\httpcore\4.4.15\httpcore-4.4.15.jar;E:\mavenRepository\commons-codec\commons-codec\1.15\commons-codec-1.15.jar;E:\mavenRepository\org\java-websocket\Java-WebSocket\1.5.2\Java-WebSocket-1.5.2.jar;E:\mavenRepository\dom4j\dom4j\1.6.1\dom4j-1.6.1.jar;E:\mavenRepository\xml-apis\xml-apis\1.0.b2\xml-apis-1.0.b2.jar;E:\mavenRepository\cn\hutool\hutool-all\5.8.4\hutool-all-5.8.4.jar;E:\mavenRepository\org\freemarker\freemarker\2.3.31\freemarker-2.3.31.jar" cn.ssy.jx3.plus.Jx3PlusApplication
. _ _ /\ / '_ () \ \ \ \ ( ( )\ | ' | '| | ' \/ ` | \ \ \ \ \/ _)| |)| | | | | || (| | ) ) ) ) ' |__| .|| ||| |\, | / / / / =========|_|==============|__/=//// :: Spring Boot :: (v2.7.5)
2022-11-12 17:21:06.739 INFO 3196 --- [ main] c.s.j.p.Jx3PlusApplication : Starting Jx3PlusApplication using Java 1.8.0_181 on SSY-DELL with PID 3196 (E:\JavaCode\GithubWorkspace\jx3-qq-robot-plus\target\classes started by DELL in E:\JavaCode\IDEAWorkSpace\jx3-qq-robot) 2022-11-12 17:21:06.749 INFO 3196 --- [ main] c.s.j.p.Jx3PlusApplication : No active profile set, falling back to 1 default profile: "default" 2022-11-12 17:21:07.857 INFO 3196 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2022-11-12 17:21:07.858 INFO 3196 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2022-11-12 17:21:08.013 INFO 3196 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 119 ms. Found 20 JPA repository interfaces. 2022-11-12 17:21:08.508 INFO 3196 --- [ main] o.s.b.w.e.t.TomcatWebServer : Tomcat initialized with port(s): 9030 (http) 2022-11-12 17:21:08.522 INFO 3196 --- [ main] o.a.c.c.StandardService : Starting service [Tomcat] 2022-11-12 17:21:08.522 INFO 3196 --- [ main] o.a.c.c.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.68] 2022-11-12 17:21:08.658 INFO 3196 --- [ main] o.a.c.c.C.[.[.[/jx3botPlus] : Initializing Spring embedded WebApplicationContext 2022-11-12 17:21:08.658 INFO 3196 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1831 ms 2022-11-12 17:21:09.341 INFO 3196 --- [ main] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource 2022-11-12 17:21:09.432 INFO 3196 --- [ main] c.a.d.p.DruidDataSource : {dataSource-1} inited 2022-11-12 17:21:09.527 INFO 3196 --- [ main] o.h.j.i.u.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2022-11-12 17:21:09.565 INFO 3196 --- [ main] o.h.Version : HHH000412: Hibernate ORM core version 5.6.12.Final 2022-11-12 17:21:09.689 INFO 3196 --- [ main] o.h.a.c.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} 2022-11-12 17:21:09.962 INFO 3196 --- [ main] o.h.d.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect 2022-11-12 17:21:10.674 INFO 3196 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2022-11-12 17:21:10.681 INFO 3196 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2022-11-12 17:21:12.634 WARN 3196 --- [ main] .s.b.StandardBotVerifyInfoDecoderFactory : Unable to find the com.charleskorn.kaml:kaml in current classpath, the bot configuration parser in .bot.yaml format will not be available. 2022-11-12 17:21:12.634 WARN 3196 --- [ main] .s.b.StandardBotVerifyInfoDecoderFactory : Unable to find the kotlinx-serialization-properties in current classpath, the bot configuration parser in .bot.properties format will not be available. 2022-11-12 17:21:12.643 INFO 3196 --- [ main] otEventProviderAutoInstallBuildConfigure : The number of Installable Event Provider Factory is 1 2022-11-12 17:21:12.663 INFO 3196 --- [ main] s.a.a.SpringBootApplicationConfiguration : The size of providers built is 1 2022-11-12 17:21:12.665 INFO 3196 --- [ main] l.f.s.c.a.B.BotRegistrarImpl : Registering bot with verify info [love.forte.simbot.bot.PathBotVerifyInfo@2318651f] 2022-11-12 17:21:12.710 ERROR 3196 --- [ main] l.f.s.c.m.i.MiraiBotManagerImpl : The configuration property [passwordMD5] is deprecated
love.forte.simbot.SimbotIllegalStateException: The configuration property [passwordMD5] is deprecated.
Maybe you should replace the property [passwordMD5]:
{
"code": 1435603250,
"passwordMD5": "4*****2"
}
to [passwordInfo]:
{
"code": 1435603250,
"passwordInfo": {
"type": "md5_text",
"md5": "4*****2"
}
}
See [PasswordInfo] and [MiraiBotVerifyInfoConfiguration.passwordInfo] for more information.
at love.forte.simbot.component.mirai.bot.MiraiBotManager.compatibleCheck(MiraiBotManager.kt:176) ~[simbot-component-mirai-core-3.0.0.0-beta-M2.jar:?]
at love.forte.simbot.component.mirai.bot.MiraiBotManager.register(MiraiBotManager.kt:72) ~[simbot-component-mirai-core-3.0.0.0-beta-M2.jar:?]
at love.forte.simbot.component.mirai.bot.MiraiBotManager.register(MiraiBotManager.kt:52) ~[simbot-component-mirai-core-3.0.0.0-beta-M2.jar:?]
at love.forte.simbot.core.application.BaseApplicationBuilder$BotRegistrarImpl.register(BaseApplicationBuilder.kt:222) ~[simbot-core-3.0.0-beta-RC.1.jar:?]
at love.forte.simboot.spring.autoconfigure.SimbotSpringBootBotAutoRegisterBuildConfigure$config$1.invokeSuspend(SimbotSpringBootBotAutoRegisterBuildConfigure.kt:96) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC.1.jar:?]
at love.forte.simboot.spring.autoconfigure.SimbotSpringBootBotAutoRegisterBuildConfigure$config$1.invoke(SimbotSpringBootBotAutoRegisterBuildConfigure.kt) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC.1.jar:?]
at love.forte.simboot.spring.autoconfigure.SimbotSpringBootBotAutoRegisterBuildConfigure$config$1.invoke(SimbotSpringBootBotAutoRegisterBuildConfigure.kt) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC.1.jar:?]
at love.forte.simbot.core.application.BaseApplicationBuilder$bots$1$1.invokeSuspend(BaseApplicationBuilder.kt:113) ~[simbot-core-3.0.0-beta-RC.1.jar:?]
at love.forte.simbot.core.application.BaseApplicationBuilder$bots$1$1.invoke(BaseApplicationBuilder.kt) ~[simbot-core-3.0.0-beta-RC.1.jar:?]
at love.forte.simbot.core.application.BaseApplicationBuilder$bots$1$1.invoke(BaseApplicationBuilder.kt) ~[simbot-core-3.0.0-beta-RC.1.jar:?]
at love.forte.simbot.core.application.BaseApplicationBuilder.registerBots(BaseApplicationBuilder.kt:163) ~[simbot-core-3.0.0-beta-RC.1.jar:?]
at love.forte.simboot.spring.autoconfigure.application.SpringBootApplicationBuilderImpl.build(SpringBootApplication.kt:191) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC.1.jar:?]
at love.forte.simboot.spring.autoconfigure.application.SpringBoot.create(SpringBootApplication.kt:67) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC.1.jar:?]
at love.forte.simboot.spring.autoconfigure.application.SpringBootApplicationKt$springBootApplication$3.invokeSuspend(SpringBootApplication.kt:91) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC.1.jar:?]
at love.forte.simboot.spring.autoconfigure.application.SpringBootApplicationKt$springBootApplication$3.invoke(SpringBootApplication.kt) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC.1.jar:?]
at love.forte.simboot.spring.autoconfigure.application.SpringBootApplicationKt$springBootApplication$3.invoke(SpringBootApplication.kt) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC.1.jar:?]
at love.forte.simbot.application.ApplicationLauncherImpl.launch(ApplicationLauncher.kt:102) ~[simbot-api-3.0.0-beta-RC.1.jar:?]
at love.forte.simbot.application.ApplicationLauncherImpl$launchBlocking$1.invokeSuspend(ApplicationLauncher.kt:105) ~[simbot-api-3.0.0-beta-RC.1.jar:?]
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) ~[kotlin-stdlib-1.6.21.jar:1.6.21-release-334(1.6.21)]
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:284) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
at love.forte.simbot.utils.BlockingRunnerKt.runInBlocking(BlockingRunner.kt:155) ~[simbot-api-3.0.0-beta-RC.1.jar:?]
at love.forte.simbot.application.ApplicationLauncherImpl.launchBlocking(ApplicationLauncher.kt:105) ~[simbot-api-3.0.0-beta-RC.1.jar:?]
at love.forte.simboot.spring.autoconfigure.SimbotSpringBootApplicationConfiguration.simbotSpringBootApplication(SimbotSpringBootApplicationConfiguration.kt:106) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC.1.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_181]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181]
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) ~[spring-beans-5.3.23.jar:5.3.23]
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653) ~[spring-beans-5.3.23.jar:5.3.23]
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:638) ~[spring-beans-5.3.23.jar:5.3.23]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352) ~[spring-beans-5.3.23.jar:5.3.23]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195) ~[spring-beans-5.3.23.jar:5.3.23]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) ~[spring-beans-5.3.23.jar:5.3.23]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.23.jar:5.3.23]
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.23.jar:5.3.23]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) [spring-beans-5.3.23.jar:5.3.23]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) [spring-beans-5.3.23.jar:5.3.23]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) [spring-beans-5.3.23.jar:5.3.23]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955) [spring-beans-5.3.23.jar:5.3.23]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) [spring-context-5.3.23.jar:5.3.23]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) [spring-context-5.3.23.jar:5.3.23]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147) [spring-boot-2.7.5.jar:2.7.5]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:734) [spring-boot-2.7.5.jar:2.7.5]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408) [spring-boot-2.7.5.jar:2.7.5]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:308) [spring-boot-2.7.5.jar:2.7.5]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1306) [spring-boot-2.7.5.jar:2.7.5]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1295) [spring-boot-2.7.5.jar:2.7.5]
at cn.ssy.jx3.plus.Jx3PlusApplication.main(Jx3PlusApplication.java:24) [classes/:?]
2022-11-12 17:21:12.714 WARN 3196 --- [ main] l.f.s.c.m.i.MiraiBotManagerImpl : The [passwordInfo] is null and [passwordMD5] is not null, will use the deprecated property [passwordMD5].
2022-11-12 17:21:12.744 INFO 3196 --- [ main] s.a.a.SpringBootApplicationConfiguration : Bots all registered. The size of bots: 1
2022-11-12 17:21:12.744 INFO 3196 --- [ main] s.a.a.SpringBootApplicationConfiguration : Starting bot MiraiBot(id=1435603250, isActive=true, eventProcessor=love.forte.simbot.core.event.SimpleEventListenerManagerImpl@37823482, manager=MiraiBotManager(bots=[1435603250], isActive=true, eventProcessorlove.forte.simbot.core.event.SimpleEventListenerManagerImpl@37823482)@484728344)
2022-11-12 17:21:13.147 INFO 3196 --- [atcher-worker-1] l.f.s.m.n.1435603250 : Server list: 180.102.191.97:80, 42.81.184.82:80, msfwifi.3g.qq.com:8080, 113.96.18.168:14000, 117.62.242.81:8080, 42.81.176.211:443, 113.96.18.253:8080, 183.47.106.104:8080, 114.222.113.185:443, 42.81.179.158:443.
2022-11-12 17:21:13.754 INFO 3196 --- [atcher-worker-1] l.f.s.m.b.1435603250 : Loaded account secrets from local cache.
2022-11-12 17:21:13.756 INFO 3196 --- [atcher-worker-1] l.f.s.m.n.1435603250 : ECDH key is invalid, start to fetch ecdh public key from server.
2022-11-12 17:21:14.042 INFO 3196 --- [atcher-worker-1] l.f.s.m.n.1435603250 : Successfully fetched ecdh public key from server.
2022-11-12 17:21:14.300 INFO 3196 --- [atcher-worker-1] l.f.s.m.b.1435603250 : [SliderCaptcha] 需要滑动验证码, 请按照以下链接的步骤完成滑动验证码, 然后输入获取到的 ticket
2022-11-12 17:21:14.300 INFO 3196 --- [atcher-worker-1] l.f.s.m.b.1435603250 : [SliderCaptcha] Slider captcha required. Please solve the captcha with following link. Type ticket here after completion.
2022-11-12 17:21:14.300 INFO 3196 --- [atcher-worker-1] l.f.s.m.b.1435603250 : [SliderCaptcha] @see https://github.com/project-mirai/mirai-login-solver-selenium
2022-11-12 17:21:14.300 INFO 3196 --- [atcher-worker-1] l.f.s.m.b.1435603250 : [SliderCaptcha] @see https://docs.mirai.mamoe.net/mirai-login-solver-selenium/
2022-11-12 17:21:14.300 INFO 3196 --- [atcher-worker-1] l.f.s.m.b.1435603250 : [SliderCaptcha] 或者输入 TxCaptchaHelper 来使用 TxCaptchaHelper 完成滑动验证码
2022-11-12 17:21:14.300 INFO 3196 --- [atcher-worker-1] l.f.s.m.b.1435603250 : [SliderCaptcha] Or type TxCaptchaHelper
to resolve slider captcha with TxCaptchaHelper.apk
2022-11-12 17:21:14.300 INFO 3196 --- [atcher-worker-1] l.f.s.m.b.1435603250 : [SliderCaptcha] Captcha link: https://ssl.captcha.qq.com/template/wireless_mqq_captcha.html?style=simple&aid=16&uin=1435603250&sid=5154158973903922569&cap_cd=5_0hfTse99BWcl_D5AaZiM9Xpkcn9TwCHsZBuDVdTCsD76hkPlnwBw**&clientype=1&apptype=2
t03DjA_T-MNAaAT-ZpmQ18Ciip2K3nfKZqTp_y7LbhjH64QTVdxdgyNEXpehJjLwIzySRCejS64NNt41jqgQKJfFzyRceMmeHwcmNhSw8UlHcIBhfmr2p7885Tnjk_5X7gWfvXoNkL0RDc*
2022-11-12 17:22:00.248 INFO 3196 --- [atcher-worker-1] l.f.s.m.b.1435603250 : [SliderCaptcha] 正在提交中...
2022-11-12 17:22:00.248 INFO 3196 --- [atcher-worker-1] l.f.s.m.b.1435603250 : [SliderCaptcha] Submitting...
2022-11-12 17:22:00.332 WARN 3196 --- [ main] l.f.s.m.n.1435603250 : null
net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(1435603250), code=235, title=温馨提示, message=当前QQ版本过低,请升级至最新版本后再登录。点击进入下载页面, errorInfo= ) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl.doLogin(SsoProcessor.kt:284) ~[mirai-core-jvm-2.12.1.jar:2.12.1] at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl$doLogin$1.invokeSuspend(SsoProcessor.kt) ~[mirai-core-jvm-2.12.1.jar:2.12.1] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) ~[kotlin-stdlib-1.6.21.jar:1.6.21-release-334(1.6.21)] at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) ~[kotlin-stdlib-1.6.21.jar:1.6.21-release-334(1.6.21)] at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] Suppressed: java.lang.IllegalStateException: Fast login failed: Error(bot=Bot(1435603250), code=15, title=登录失败, message=你的用户身份已失效,为保证帐号安全,请你重新登录。, errorInfo=) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$FastLoginImpl.doLogin(SsoProcessor.kt:306) ~[mirai-core-jvm-2.12.1.jar:2.12.1] at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$FastLoginImpl$doLogin$1.invokeSuspend(SsoProcessor.kt) ~[mirai-core-jvm-2.12.1.jar:2.12.1] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) ~[kotlin-stdlib-1.6.21.jar:1.6.21-release-334(1.6.21)] at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) ~[kotlin-stdlib-1.6.21.jar:1.6.21-release-334(1.6.21)] at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
2022-11-12 17:22:00.358 INFO 3196 --- [ main] l.f.s.m.b.1435603250 : Bot cancelled: Bot closed 2022-11-12 17:22:00.360 WARN 3196 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'simbotSpringBootApplication' defined in love.forte.simboot.spring.autoconfigure.SimbotSpringBootApplicationConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [love.forte.simboot.spring.autoconfigure.application.SpringBootApplication]: Factory method 'simbotSpringBootApplication' threw exception; nested exception is java.lang.IllegalStateException: Can't overwrite cause with a null 2022-11-12 17:22:00.363 INFO 3196 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2022-11-12 17:22:00.363 INFO 3196 --- [ main] c.a.d.p.DruidDataSource : {dataSource-1} closing ... 2022-11-12 17:22:00.366 INFO 3196 --- [ main] c.a.d.p.DruidDataSource : {dataSource-1} closed 2022-11-12 17:22:00.379 INFO 3196 --- [ main] o.a.c.c.StandardService : Stopping service [Tomcat] 2022-11-12 17:22:00.388 INFO 3196 --- [ main] ConditionEvaluationReportLoggingListener :
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2022-11-12 17:22:00.407 ERROR 3196 --- [ main] o.s.b.SpringApplication : Application run failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'simbotSpringBootApplication' defined in love.forte.simboot.spring.autoconfigure.SimbotSpringBootApplicationConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [love.forte.simboot.spring.autoconfigure.application.SpringBootApplication]: Factory method 'simbotSpringBootApplication' threw exception; nested exception is java.lang.IllegalStateException: Can't overwrite cause with a null at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:658) ~[spring-beans-5.3.23.jar:5.3.23] at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:638) ~[spring-beans-5.3.23.jar:5.3.23] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352) ~[spring-beans-5.3.23.jar:5.3.23] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195) ~[spring-beans-5.3.23.jar:5.3.23] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) ~[spring-beans-5.3.23.jar:5.3.23] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.23.jar:5.3.23] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.23.jar:5.3.23] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.23.jar:5.3.23] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.23.jar:5.3.23] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.23.jar:5.3.23] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955) ~[spring-beans-5.3.23.jar:5.3.23] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) ~[spring-context-5.3.23.jar:5.3.23] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) ~[spring-context-5.3.23.jar:5.3.23] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147) ~[spring-boot-2.7.5.jar:2.7.5] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:734) [spring-boot-2.7.5.jar:2.7.5] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408) [spring-boot-2.7.5.jar:2.7.5] at org.springframework.boot.SpringApplication.run(SpringApplication.java:308) [spring-boot-2.7.5.jar:2.7.5] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1306) [spring-boot-2.7.5.jar:2.7.5] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1295) [spring-boot-2.7.5.jar:2.7.5] at cn.ssy.jx3.plus.Jx3PlusApplication.main(Jx3PlusApplication.java:24) [classes/:?] Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [love.forte.simboot.spring.autoconfigure.application.SpringBootApplication]: Factory method 'simbotSpringBootApplication' threw exception; nested exception is java.lang.IllegalStateException: Can't overwrite cause with a null at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) ~[spring-beans-5.3.23.jar:5.3.23] at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653) ~[spring-beans-5.3.23.jar:5.3.23] ... 19 more Caused by: java.lang.IllegalStateException: Can't overwrite cause with a null at java.lang.Throwable.initCause(Throwable.java:457) ~[?:1.8.0_181] at love.forte.simbot.component.mirai.internal.MiraiBotImpl.start(MiraiBotImpl.kt:240) ~[simbot-component-mirai-core-3.0.0.0-beta-M2.jar:?] at love.forte.simbot.component.mirai.internal.MiraiBotImpl$start$1.invokeSuspend(MiraiBotImpl.kt) ~[simbot-component-mirai-core-3.0.0.0-beta-M2.jar:?] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) ~[kotlin-stdlib-1.6.21.jar:1.6.21-release-334(1.6.21)] at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:284) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking(Builders.kt:59) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at love.forte.simbot.utils.BlockingRunnerKt.runInBlocking(BlockingRunner.kt:155) ~[simbot-api-3.0.0-beta-RC.1.jar:?] at love.forte.simbot.application.ApplicationLauncherImpl.launchBlocking(ApplicationLauncher.kt:105) ~[simbot-api-3.0.0-beta-RC.1.jar:?] at love.forte.simboot.spring.autoconfigure.SimbotSpringBootApplicationConfiguration.simbotSpringBootApplication(SimbotSpringBootApplicationConfiguration.kt:106) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC.1.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_181] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181] at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) ~[spring-beans-5.3.23.jar:5.3.23] at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653) ~[spring-beans-5.3.23.jar:5.3.23] ... 19 more Caused by: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(1435603250), code=235, title=温馨提示, message=当前QQ版本过低,请升级至最新版本后再登录。点击进入下载页面, errorInfo= ) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl.doLogin(SsoProcessor.kt:284) ~[mirai-core-jvm-2.12.1.jar:2.12.1] at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl$doLogin$1.invokeSuspend(SsoProcessor.kt) ~[mirai-core-jvm-2.12.1.jar:2.12.1] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) ~[kotlin-stdlib-1.6.21.jar:1.6.21-release-334(1.6.21)] at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) ~[kotlin-stdlib-1.6.21.jar:1.6.21-release-334(1.6.21)] at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] Suppressed: java.lang.IllegalStateException: Fast login failed: Error(bot=Bot(1435603250), code=15, title=登录失败, message=你的用户身份已失效,为保证帐号安全,请你重新登录。, errorInfo=) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$FastLoginImpl.doLogin(SsoProcessor.kt:306) ~[mirai-core-jvm-2.12.1.jar:2.12.1] at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$FastLoginImpl$doLogin$1.invokeSuspend(SsoProcessor.kt) ~[mirai-core-jvm-2.12.1.jar:2.12.1] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) ~[kotlin-stdlib-1.6.21.jar:1.6.21-release-334(1.6.21)] at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) ~[kotlin-stdlib-1.6.21.jar:1.6.21-release-334(1.6.21)] at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] Suppressed: java.util.concurrent.CancellationException: Bot closed at kotlinx.coroutines.ExceptionsKt.CancellationException(Exceptions.kt:22) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at net.mamoe.mirai.internal.AbstractBot.close(AbstractBot.kt:112) ~[mirai-core-jvm-2.12.1.jar:2.12.1] at net.mamoe.mirai.internal.QQAndroidBot.close(QQAndroidBot.kt:84) ~[mirai-core-jvm-2.12.1.jar:2.12.1] at net.mamoe.mirai.internal.AbstractBot.login(AbstractBot.kt:136) ~[mirai-core-jvm-2.12.1.jar:2.12.1] at net.mamoe.mirai.internal.AbstractBot$login$1.invokeSuspend(AbstractBot.kt) ~[mirai-core-jvm-2.12.1.jar:2.12.1] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) ~[kotlin-stdlib-1.6.21.jar:1.6.21-release-334(1.6.21)] at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:284) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking(Builders.kt:59) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at love.forte.simbot.utils.BlockingRunnerKt.runInBlocking(BlockingRunner.kt:155) ~[simbot-api-3.0.0-beta-RC.1.jar:?] at love.forte.simbot.application.ApplicationLauncherImpl.launchBlocking(ApplicationLauncher.kt:105) ~[simbot-api-3.0.0-beta-RC.1.jar:?] at love.forte.simboot.spring.autoconfigure.SimbotSpringBootApplicationConfiguration.simbotSpringBootApplication(SimbotSpringBootApplicationConfiguration.kt:106) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC.1.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_181] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181] at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) ~[spring-beans-5.3.23.jar:5.3.23] at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653) ~[spring-beans-5.3.23.jar:5.3.23] at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:638) ~[spring-beans-5.3.23.jar:5.3.23] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352) ~[spring-beans-5.3.23.jar:5.3.23] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195) ~[spring-beans-5.3.23.jar:5.3.23] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) ~[spring-beans-5.3.23.jar:5.3.23] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.23.jar:5.3.23] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.23.jar:5.3.23] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.23.jar:5.3.23] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.23.jar:5.3.23] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.23.jar:5.3.23] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955) ~[spring-beans-5.3.23.jar:5.3.23] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) ~[spring-context-5.3.23.jar:5.3.23] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) ~[spring-context-5.3.23.jar:5.3.23] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147) ~[spring-boot-2.7.5.jar:2.7.5] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:734) [spring-boot-2.7.5.jar:2.7.5] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408) [spring-boot-2.7.5.jar:2.7.5] at org.springframework.boot.SpringApplication.run(SpringApplication.java:308) [spring-boot-2.7.5.jar:2.7.5] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1306) [spring-boot-2.7.5.jar:2.7.5] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1295) [spring-boot-2.7.5.jar:2.7.5] at cn.ssy.jx3.plus.Jx3PlusApplication.main(Jx3PlusApplication.java:24) [classes/:?] Caused by: net.mamoe.mirai.network.WrongPasswordException: Error(bot=Bot(1435603250), code=235, title=温馨提示, message=当前QQ版本过低,请升级至最新版本后再登录。点击进入下载页面, errorInfo= ) at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl.doLogin(SsoProcessor.kt:284) ~[mirai-core-jvm-2.12.1.jar:2.12.1] at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl$doLogin$1.invokeSuspend(SsoProcessor.kt) ~[mirai-core-jvm-2.12.1.jar:2.12.1] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) ~[kotlin-stdlib-1.6.21.jar:1.6.21-release-334(1.6.21)] at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) ~[kotlin-stdlib-1.6.21.jar:1.6.21-release-334(1.6.21)] at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?] at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) ~[kotlinx-coroutines-core-jvm-1.6.4.jar:?]
Process finished with exit code 1 `
@enchantedyou 我注意到你似乎在中途将 simbot 核心的版本切换为了 3.0.0-M1
,首先试着将其切换回 3.0.0-M2
,核心库的版本不会影响Mirai的版本
如果是 3.0.0-M1
,这看上去有些类似于 https://github.com/simple-robot/simbot-component-kook/issues/62 ,试着参考 此方案 来配置一下 core size
@enchantedyou 我注意到你似乎在中途将 simbot 核心的版本切换为了
3.0.0-M1
,首先试着将其切换回3.0.0-M2
,核心库的版本不会影响Mirai的版本如果是
3.0.0-M1
,这看上去有些类似于 simple-robot/simbot-component-kook#62 ,试着参考 此方案 来配置一下 core size
未配置coreSize,当我把核心版本升到3.0.0-M2后启动成功,感谢耐心解答!
版本号
v3.0.0-M2
附加版本
simbot-component-mirai.version:v3.0.0.0-beta.4
问题描述
由于出现了QQ版本过低的问题,于是计划升级v3版本,在完成maven依赖更新后项目代码爆红。 已确定依赖导入正常,mvn打包正常。 ` <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
`
复现方式
maven版本号更新至所述版本
相关日志
No response
其他补充
No response