simple-robot / simpler-robot

Simple Robot,一个bot风格的Kotlin多平台事件调度框架,异步高效、Java友好!/ A Bot-style Kotlin Multiplatform event scheduling framework, asynchronous and high-performance, java-friendly! 🐱😼😻😸
https://simbot.forte.love
GNU Lesser General Public License v3.0
512 stars 44 forks source link

通过OriginBotManager获取的Bot对象无法获取到好友Contact #387

Closed enchantedyou closed 2 years ago

enchantedyou commented 2 years ago

版本号

3.0.0.preview.20.0

附加版本

simbot-component-mirai:v3.0.0.0.preview.13.0

问题描述

通过OriginBotManager获取的Bot对象,再通过getContacts方法获取好友列表,输出的列表大小为0,但通过FriendMessageEvent可以正常地接收和回复好友消息 $M_KDU6F_F{M67C)Q{NIJAC U01M{W1_2(I7Y}KH)66UZ}Q 私信给机器人发送命令能够得到回复 0A$FP @75ZUD IS21A(O}(S 获取到的好友列表大小为0 $~J6`3~6ZT5QL{J 4H~L(LI 获取Bot对象的方式如下 VOOTW7PC90@GM7}T%}8AQ0C

复现方式

该项目为springboot项目,新增一个类实现ApplicationRunner接口,在run方法中执行如下方法即可复现: Optional.ofNullable(OriginBotManager.INSTANCE.getAnyBotOrNull()).orElseThrow(() -> new SimbotRuntimeException("can't find a valid bot")).getContacts().collectToList().size();

相关日志

No response

其他补充

No response

ForteScarlet commented 2 years ago

似乎为bug,请参考并追踪 issue :https://github.com/simple-robot/simbot-component-mirai/issues/52

当前issue将会关闭。

ForteScarlet commented 2 years ago

此问题由核心库的 spring-boot-starter 模块导致而非组件库原因,因此回到此处进行追踪。

原因为在 spring-boot-starter 模块中,bot的自动登录是 异步 的,因此当在 ApplicationRunner 中时bot尚未启动,因此无法得到联系人等信息。

ForteScarlet commented 2 years ago

临时解决办法:不要在启动时直接通过 OrignBotManager 获取bot。如果你希望在Bot启动后执行某些操作,考虑监听 BotStartedEvent 事件。

@Listener
public void onBotStart(BotStartedEvent event) {
    Bot bot = event.getBot(); // 启动后的bot
    // ...
}
ForteScarlet commented 2 years ago

@enchantedyou 核心库 3.0.0-beta-RC-SNAPSHOT 快照版本已经发布此修复。 可考虑尝试此快照,并在它仍旧存在问题时继续反馈。

enchantedyou commented 2 years ago

辛苦了,不过我应该从哪个maven仓库去获取该快照版本并进行验证? @ForteScarlet

ForteScarlet commented 2 years ago

以maven为例,你可以使用如下仓库配置:

<repositories>
    <repository>
        <id>sonatype-snapshot</id>
        <name>Sonatype Snapshots Repository</name>
        <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
    </repository>
</repositories>
enchantedyou commented 2 years ago

升级到快照版本后出现类未定义的情况,mvn clean install能够通过。 pom: <?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">

4.0.0
<parent>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-parent</artifactId>
    <version>2.6.4</version>
    <relativePath/>
</parent>

<groupId>cn.ssy.jx3.plus</groupId>
<artifactId>jx3-qq-robot-plus</artifactId>
<version>2.0.0-BETA</version>
<name>jx3-qq-robot-plus</name>
<description>JX3 QQ Robot Plus</description>

<properties>
    <maven.compiler.source>8</maven.compiler.source>
    <maven.compiler.target>8</maven.compiler.target>
    <log4j2.version>2.17.1</log4j2.version>
    <simbot.version>3.0.0-beta-RC-SNAPSHOT</simbot.version>
    <simbot-component-mirai.version>3.0.0.0.preview.13.0</simbot-component-mirai.version>
</properties>

<repositories>
    <repository>
        <id>sonatype-snapshot</id>
        <name>Sonatype Snapshots Repository</name>
        <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
    </repository>
</repositories>

<dependencies>
    <!-- simbot-spring-boot-starter 库 -->
    <dependency>
        <groupId>love.forte.simbot.boot</groupId>
        <artifactId>simboot-core-spring-boot-starter</artifactId>
        <version>${simbot.version}</version>
        <exclusions>
            <exclusion>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-starter-logging</artifactId>
            </exclusion>
        </exclusions>
    </dependency>
    <!-- mirai组件 -->
    <dependency>
        <groupId>love.forte.simbot.component</groupId>
        <artifactId>simbot-component-mirai-boot</artifactId>
        <version>${simbot-component-mirai.version}</version>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-data-jpa</artifactId>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-log4j2</artifactId>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-web</artifactId>
        <exclusions>
            <!-- 排除springboot对日志的依赖 -->
            <exclusion>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-starter-logging</artifactId>
            </exclusion>
        </exclusions>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-test</artifactId>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-data-redis</artifactId>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-cache</artifactId>
    </dependency>
    <dependency>
        <groupId>org.projectlombok</groupId>
        <artifactId>lombok</artifactId>
        <version>1.18.22</version>
        <scope>provided</scope>
    </dependency>
    <dependency>
        <groupId>mysql</groupId>
        <artifactId>mysql-connector-java</artifactId>
        <version>8.0.25</version>
    </dependency>
    <dependency>
        <groupId>com.alibaba</groupId>
        <artifactId>druid-spring-boot-starter</artifactId>
        <version>1.2.8</version>
    </dependency>
    <dependency>
        <groupId>org.jsoup</groupId>
        <artifactId>jsoup</artifactId>
        <version>1.14.3</version>
    </dependency>
    <dependency>
        <groupId>org.apache.httpcomponents</groupId>
        <artifactId>httpclient</artifactId>
    </dependency>
    <dependency>
        <groupId>org.java-websocket</groupId>
        <artifactId>Java-WebSocket</artifactId>
        <version>1.5.2</version>
    </dependency>
    <dependency>
        <groupId>dom4j</groupId>
        <artifactId>dom4j</artifactId>
        <version>1.6.1</version>
    </dependency>
</dependencies>

<build>
    <plugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-jar-plugin</artifactId>
            <version>3.1.1</version>
            <configuration>
                <archive>
                    <manifest>
                        <addClasspath>true</addClasspath>
                        <classpathPrefix>lib/</classpathPrefix>
                        <mainClass>cn.ssy.jx3.plus.Jx3PlusApplication</mainClass>
                    </manifest>
                </archive>
                <excludes>
                    <exclude>/**/*.properties</exclude>
                    <exclude>META-INF/**</exclude>
                </excludes>
            </configuration>
        </plugin>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-dependency-plugin</artifactId>
            <version>3.2.0</version>
            <executions>
                <execution>
                    <id>copy-lib</id>
                    <phase>package</phase>
                    <goals>
                        <goal>copy-dependencies</goal>
                    </goals>
                    <configuration>
                        <outputDirectory>target/lib</outputDirectory>
                        <excludeTransitive>false</excludeTransitive>
                        <stripVersion>false</stripVersion>
                        <includeScope>runtime</includeScope>
                    </configuration>
                </execution>
            </executions>
        </plugin>
    </plugins>
    <resources>
        <resource>
            <directory>src/main/java</directory>
            <includes>
                <include>**/*.xml</include>
            </includes>
        </resource>
        <resource>
            <directory>src/main/resources</directory>
            <includes>
                <include>**/*.*</include>
            </includes>
            <excludes>
                <exclude>**/*.sql</exclude>
                <exclude>**/*.xml</exclude>
            </excludes>
        </resource>
    </resources>
</build>

错误堆栈: "C:\Program Files\Java\jdk1.8.0_181\bin\java.exe" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:2747,suspend=y,server=n -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -javaagent:C:\Users\admin\AppData\Local\JetBrains\IntelliJIdea2021.2\captureAgent\debugger-agent.jar -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:\mastercom\workspace\selfWork\jx3-qq-robot-plus\target\classes;E:\mastercom\repository\love\forte\simbot\boot\simboot-core-spring-boot-starter\3.0.0-beta-RC-SNAPSHOT\simboot-core-spring-boot-starter-3.0.0-beta-RC-20220720.132806-2.jar;E:\mastercom\repository\love\forte\simbot\boot\simboot-core\3.0.0-beta-RC-SNAPSHOT\simboot-core-3.0.0-beta-RC-20220720.132806-2.jar;E:\mastercom\repository\love\forte\simbot\boot\simboot-api\3.0.0-beta-RC-SNAPSHOT\simboot-api-3.0.0-beta-RC-20220720.132806-2.jar;E:\mastercom\repository\love\forte\simbot\simbot-core\3.0.0-beta-RC-SNAPSHOT\simbot-core-3.0.0-beta-RC-20220720.132806-2.jar;E:\mastercom\repository\love\forte\simbot\simbot-api\3.0.0-beta-RC-SNAPSHOT\simbot-api-3.0.0-beta-RC-20220720.132806-2.jar;E:\mastercom\repository\org\jetbrains\kotlinx\kotlinx-coroutines-jdk8\1.5.2\kotlinx-coroutines-jdk8-1.5.2.jar;E:\mastercom\repository\love\forte\simbot\boot\simboot-core-annotation\3.0.0-beta-RC-SNAPSHOT\simboot-core-annotation-3.0.0-beta-RC-20220720.132806-2.jar;E:\mastercom\repository\org\jetbrains\kotlinx\kotlinx-coroutines-core-jvm\1.5.2\kotlinx-coroutines-core-jvm-1.5.2.jar;E:\mastercom\repository\org\jetbrains\kotlin\kotlin-stdlib-common\1.6.10\kotlin-stdlib-common-1.6.10.jar;E:\mastercom\repository\org\jetbrains\kotlinx\kotlinx-serialization-core-jvm\1.3.3\kotlinx-serialization-core-jvm-1.3.3.jar;E:\mastercom\repository\org\jetbrains\kotlinx\kotlinx-serialization-json-jvm\1.3.3\kotlinx-serialization-json-jvm-1.3.3.jar;E:\mastercom\repository\love\forte\di\di-core\0.0.3\di-core-0.0.3.jar;E:\mastercom\repository\love\forte\annotation-tool\kcore\0.6.3\kcore-0.6.3.jar;E:\mastercom\repository\love\forte\annotation-tool\api\0.6.3\api-0.6.3.jar;E:\mastercom\repository\javax\inject\javax.inject\1\javax.inject-1.jar;E:\mastercom\repository\love\forte\di\di-spring\0.0.3\di-spring-0.0.3.jar;E:\mastercom\repository\love\forte\di\di-api\0.0.3\di-api-0.0.3.jar;E:\mastercom\repository\org\jetbrains\kotlin\kotlin-reflect\1.6.10\kotlin-reflect-1.6.10.jar;E:\mastercom\repository\org\springframework\spring-context\5.3.16\spring-context-5.3.16.jar;E:\mastercom\repository\org\jetbrains\kotlin\kotlin-stdlib-jdk8\1.6.10\kotlin-stdlib-jdk8-1.6.10.jar;E:\mastercom\repository\org\jetbrains\kotlin\kotlin-stdlib\1.6.10\kotlin-stdlib-1.6.10.jar;E:\mastercom\repository\org\jetbrains\annotations\13.0\annotations-13.0.jar;E:\mastercom\repository\org\jetbrains\kotlin\kotlin-stdlib-jdk7\1.6.10\kotlin-stdlib-jdk7-1.6.10.jar;E:\mastercom\repository\org\springframework\boot\spring-boot-autoconfigure\2.6.4\spring-boot-autoconfigure-2.6.4.jar;E:\mastercom\repository\org\springframework\boot\spring-boot\2.6.4\spring-boot-2.6.4.jar;E:\mastercom\repository\org\springframework\boot\spring-boot-configuration-processor\2.6.4\spring-boot-configuration-processor-2.6.4.jar;E:\mastercom\repository\love\forte\simbot\component\simbot-component-mirai-boot\3.0.0.0.preview.13.0\simbot-component-mirai-boot-3.0.0.0.preview.13.0.jar;E:\mastercom\repository\love\forte\simbot\component\simbot-component-mirai-core\3.0.0.0.preview.13.0\simbot-component-mirai-core-3.0.0.0.preview.13.0.jar;E:\mastercom\repository\net\mamoe\mirai-core-jvm\2.11.1\mirai-core-jvm-2.11.1.jar;E:\mastercom\repository\net\mamoe\mirai-core-api-jvm\2.11.1\mirai-core-api-jvm-2.11.1.jar;E:\mastercom\repository\io\ktor\ktor-client-okhttp\1.6.7\ktor-client-okhttp-1.6.7.jar;E:\mastercom\repository\io\ktor\ktor-client-core-jvm\1.6.7\ktor-client-core-jvm-1.6.7.jar;E:\mastercom\repository\io\ktor\ktor-http-jvm\1.6.7\ktor-http-jvm-1.6.7.jar;E:\mastercom\repository\io\ktor\ktor-utils-jvm\1.6.7\ktor-utils-jvm-1.6.7.jar;E:\mastercom\repository\io\ktor\ktor-io-jvm\1.6.7\ktor-io-jvm-1.6.7.jar;E:\mastercom\repository\io\ktor\ktor-http-cio-jvm\1.6.7\ktor-http-cio-jvm-1.6.7.jar;E:\mastercom\repository\io\ktor\ktor-network-jvm\1.6.7\ktor-network-jvm-1.6.7.jar;E:\mastercom\repository\com\squareup\okhttp3\okhttp\3.14.9\okhttp-3.14.9.jar;E:\mastercom\repository\com\squareup\okio\okio\1.17.2\okio-1.17.2.jar;E:\mastercom\repository\net\mamoe\mirai-console-compiler-annotations-jvm\2.11.1\mirai-console-compiler-annotations-jvm-2.11.1.jar;E:\mastercom\repository\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:\mastercom\repository\net\mamoe\mirai-core-utils-jvm\2.11.1\mirai-core-utils-jvm-2.11.1.jar;E:\mastercom\repository\org\jetbrains\kotlinx\kotlinx-serialization-protobuf-jvm\1.3.2\kotlinx-serialization-protobuf-jvm-1.3.2.jar;E:\mastercom\repository\org\jetbrains\kotlinx\atomicfu-jvm\0.17.2\atomicfu-jvm-0.17.2.jar;E:\mastercom\repository\io\netty\netty-all\4.1.74.Final\netty-all-4.1.74.Final.jar;E:\mastercom\repository\io\netty\netty-codec-dns\4.1.74.Final\netty-codec-dns-4.1.74.Final.jar;E:\mastercom\repository\io\netty\netty-codec-haproxy\4.1.74.Final\netty-codec-haproxy-4.1.74.Final.jar;E:\mastercom\repository\io\netty\netty-codec-http\4.1.74.Final\netty-codec-http-4.1.74.Final.jar;E:\mastercom\repository\io\netty\netty-codec-http2\4.1.74.Final\netty-codec-http2-4.1.74.Final.jar;E:\mastercom\repository\io\netty\netty-codec-memcache\4.1.74.Final\netty-codec-memcache-4.1.74.Final.jar;E:\mastercom\repository\io\netty\netty-codec-mqtt\4.1.74.Final\netty-codec-mqtt-4.1.74.Final.jar;E:\mastercom\repository\io\netty\netty-codec-redis\4.1.74.Final\netty-codec-redis-4.1.74.Final.jar;E:\mastercom\repository\io\netty\netty-codec-smtp\4.1.74.Final\netty-codec-smtp-4.1.74.Final.jar;E:\mastercom\repository\io\netty\netty-codec-socks\4.1.74.Final\netty-codec-socks-4.1.74.Final.jar;E:\mastercom\repository\io\netty\netty-codec-stomp\4.1.74.Final\netty-codec-stomp-4.1.74.Final.jar;E:\mastercom\repository\io\netty\netty-codec-xml\4.1.74.Final\netty-codec-xml-4.1.74.Final.jar;E:\mastercom\repository\io\netty\netty-handler-proxy\4.1.74.Final\netty-handler-proxy-4.1.74.Final.jar;E:\mastercom\repository\io\netty\netty-resolver-dns\4.1.74.Final\netty-resolver-dns-4.1.74.Final.jar;E:\mastercom\repository\io\netty\netty-transport-rxtx\4.1.74.Final\netty-transport-rxtx-4.1.74.Final.jar;E:\mastercom\repository\io\netty\netty-transport-sctp\4.1.74.Final\netty-transport-sctp-4.1.74.Final.jar;E:\mastercom\repository\io\netty\netty-transport-udt\4.1.74.Final\netty-transport-udt-4.1.74.Final.jar;E:\mastercom\repository\io\netty\netty-transport-classes-epoll\4.1.74.Final\netty-transport-classes-epoll-4.1.74.Final.jar;E:\mastercom\repository\io\netty\netty-transport-native-unix-common\4.1.74.Final\netty-transport-native-unix-common-4.1.74.Final.jar;E:\mastercom\repository\io\netty\netty-transport-classes-kqueue\4.1.74.Final\netty-transport-classes-kqueue-4.1.74.Final.jar;E:\mastercom\repository\io\netty\netty-resolver-dns-classes-macos\4.1.74.Final\netty-resolver-dns-classes-macos-4.1.74.Final.jar;E:\mastercom\repository\io\netty\netty-transport-native-epoll\4.1.74.Final\netty-transport-native-epoll-4.1.74.Final-linux-x86_64.jar;E:\mastercom\repository\io\netty\netty-transport-native-epoll\4.1.74.Final\netty-transport-native-epoll-4.1.74.Final-linux-aarch_64.jar;E:\mastercom\repository\io\netty\netty-transport-native-kqueue\4.1.74.Final\netty-transport-native-kqueue-4.1.74.Final-osx-x86_64.jar;E:\mastercom\repository\io\netty\netty-transport-native-kqueue\4.1.74.Final\netty-transport-native-kqueue-4.1.74.Final-osx-aarch_64.jar;E:\mastercom\repository\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:\mastercom\repository\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:\mastercom\repository\org\bouncycastle\bcprov-jdk15on\1.64\bcprov-jdk15on-1.64.jar;E:\mastercom\repository\org\jetbrains\kotlinx\kotlinx-io-jvm\0.1.16\kotlinx-io-jvm-0.1.16.jar;E:\mastercom\repository\org\jetbrains\kotlinx\kotlinx-io\0.1.16\kotlinx-io-0.1.16.jar;E:\mastercom\repository\org\springframework\boot\spring-boot-starter-data-jpa\2.6.4\spring-boot-starter-data-jpa-2.6.4.jar;E:\mastercom\repository\org\springframework\boot\spring-boot-starter-aop\2.6.4\spring-boot-starter-aop-2.6.4.jar;E:\mastercom\repository\org\springframework\spring-aop\5.3.16\spring-aop-5.3.16.jar;E:\mastercom\repository\org\aspectj\aspectjweaver\1.9.7\aspectjweaver-1.9.7.jar;E:\mastercom\repository\org\springframework\boot\spring-boot-starter-jdbc\2.6.4\spring-boot-starter-jdbc-2.6.4.jar;E:\mastercom\repository\com\zaxxer\HikariCP\4.0.3\HikariCP-4.0.3.jar;E:\mastercom\repository\org\springframework\spring-jdbc\5.3.16\spring-jdbc-5.3.16.jar;E:\mastercom\repository\jakarta\transaction\jakarta.transaction-api\1.3.3\jakarta.transaction-api-1.3.3.jar;E:\mastercom\repository\jakarta\persistence\jakarta.persistence-api\2.2.3\jakarta.persistence-api-2.2.3.jar;E:\mastercom\repository\org\hibernate\hibernate-core\5.6.5.Final\hibernate-core-5.6.5.Final.jar;E:\mastercom\repository\org\jboss\logging\jboss-logging\3.4.3.Final\jboss-logging-3.4.3.Final.jar;E:\mastercom\repository\net\bytebuddy\byte-buddy\1.11.22\byte-buddy-1.11.22.jar;E:\mastercom\repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;E:\mastercom\repository\org\jboss\jandex\2.4.2.Final\jandex-2.4.2.Final.jar;E:\mastercom\repository\com\fasterxml\classmate\1.5.1\classmate-1.5.1.jar;E:\mastercom\repository\org\hibernate\common\hibernate-commons-annotations\5.1.2.Final\hibernate-commons-annotations-5.1.2.Final.jar;E:\mastercom\repository\org\glassfish\jaxb\jaxb-runtime\2.3.6\jaxb-runtime-2.3.6.jar;E:\mastercom\repository\org\glassfish\jaxb\txw2\2.3.6\txw2-2.3.6.jar;E:\mastercom\repository\com\sun\istack\istack-commons-runtime\3.0.12\istack-commons-runtime-3.0.12.jar;E:\mastercom\repository\com\sun\activation\jakarta.activation\1.2.2\jakarta.activation-1.2.2.jar;E:\mastercom\repository\org\springframework\data\spring-data-jpa\2.6.2\spring-data-jpa-2.6.2.jar;E:\mastercom\repository\org\springframework\data\spring-data-commons\2.6.2\spring-data-commons-2.6.2.jar;E:\mastercom\repository\org\springframework\spring-orm\5.3.16\spring-orm-5.3.16.jar;E:\mastercom\repository\org\springframework\spring-tx\5.3.16\spring-tx-5.3.16.jar;E:\mastercom\repository\org\springframework\spring-beans\5.3.16\spring-beans-5.3.16.jar;E:\mastercom\repository\org\springframework\spring-aspects\5.3.16\spring-aspects-5.3.16.jar;E:\mastercom\repository\org\springframework\boot\spring-boot-starter-log4j2\2.6.4\spring-boot-starter-log4j2-2.6.4.jar;E:\mastercom\repository\org\apache\logging\log4j\log4j-slf4j-impl\2.17.1\log4j-slf4j-impl-2.17.1.jar;E:\mastercom\repository\org\apache\logging\log4j\log4j-api\2.17.1\log4j-api-2.17.1.jar;E:\mastercom\repository\org\apache\logging\log4j\log4j-core\2.17.1\log4j-core-2.17.1.jar;E:\mastercom\repository\org\apache\logging\log4j\log4j-jul\2.17.1\log4j-jul-2.17.1.jar;E:\mastercom\repository\org\slf4j\jul-to-slf4j\1.7.36\jul-to-slf4j-1.7.36.jar;E:\mastercom\repository\org\springframework\boot\spring-boot-starter-web\2.6.4\spring-boot-starter-web-2.6.4.jar;E:\mastercom\repository\org\springframework\boot\spring-boot-starter\2.6.4\spring-boot-starter-2.6.4.jar;E:\mastercom\repository\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;E:\mastercom\repository\org\yaml\snakeyaml\1.29\snakeyaml-1.29.jar;E:\mastercom\repository\org\springframework\boot\spring-boot-starter-json\2.6.4\spring-boot-starter-json-2.6.4.jar;E:\mastercom\repository\com\fasterxml\jackson\core\jackson-databind\2.13.1\jackson-databind-2.13.1.jar;E:\mastercom\repository\com\fasterxml\jackson\core\jackson-annotations\2.13.1\jackson-annotations-2.13.1.jar;E:\mastercom\repository\com\fasterxml\jackson\core\jackson-core\2.13.1\jackson-core-2.13.1.jar;E:\mastercom\repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.13.1\jackson-datatype-jdk8-2.13.1.jar;E:\mastercom\repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.13.1\jackson-datatype-jsr310-2.13.1.jar;E:\mastercom\repository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.13.1\jackson-module-parameter-names-2.13.1.jar;E:\mastercom\repository\org\springframework\boot\spring-boot-starter-tomcat\2.6.4\spring-boot-starter-tomcat-2.6.4.jar;E:\mastercom\repository\org\apache\tomcat\embed\tomcat-embed-core\9.0.58\tomcat-embed-core-9.0.58.jar;E:\mastercom\repository\org\apache\tomcat\embed\tomcat-embed-el\9.0.58\tomcat-embed-el-9.0.58.jar;E:\mastercom\repository\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.58\tomcat-embed-websocket-9.0.58.jar;E:\mastercom\repository\org\springframework\spring-web\5.3.16\spring-web-5.3.16.jar;E:\mastercom\repository\org\springframework\spring-webmvc\5.3.16\spring-webmvc-5.3.16.jar;E:\mastercom\repository\org\springframework\spring-expression\5.3.16\spring-expression-5.3.16.jar;E:\mastercom\repository\org\springframework\boot\spring-boot-starter-test\2.6.4\spring-boot-starter-test-2.6.4.jar;E:\mastercom\repository\org\springframework\boot\spring-boot-test\2.6.4\spring-boot-test-2.6.4.jar;E:\mastercom\repository\org\springframework\boot\spring-boot-test-autoconfigure\2.6.4\spring-boot-test-autoconfigure-2.6.4.jar;E:\mastercom\repository\com\jayway\jsonpath\json-path\2.6.0\json-path-2.6.0.jar;E:\mastercom\repository\net\minidev\json-smart\2.4.8\json-smart-2.4.8.jar;E:\mastercom\repository\net\minidev\accessors-smart\2.4.8\accessors-smart-2.4.8.jar;E:\mastercom\repository\org\ow2\asm\asm\9.1\asm-9.1.jar;E:\mastercom\repository\jakarta\xml\bind\jakarta.xml.bind-api\2.3.3\jakarta.xml.bind-api-2.3.3.jar;E:\mastercom\repository\jakarta\activation\jakarta.activation-api\1.2.2\jakarta.activation-api-1.2.2.jar;E:\mastercom\repository\org\assertj\assertj-core\3.21.0\assertj-core-3.21.0.jar;E:\mastercom\repository\org\hamcrest\hamcrest\2.2\hamcrest-2.2.jar;E:\mastercom\repository\org\junit\jupiter\junit-jupiter\5.8.2\junit-jupiter-5.8.2.jar;E:\mastercom\repository\org\junit\jupiter\junit-jupiter-api\5.8.2\junit-jupiter-api-5.8.2.jar;E:\mastercom\repository\org\opentest4j\opentest4j\1.2.0\opentest4j-1.2.0.jar;E:\mastercom\repository\org\junit\platform\junit-platform-commons\1.8.2\junit-platform-commons-1.8.2.jar;E:\mastercom\repository\org\apiguardian\apiguardian-api\1.1.2\apiguardian-api-1.1.2.jar;E:\mastercom\repository\org\junit\jupiter\junit-jupiter-params\5.8.2\junit-jupiter-params-5.8.2.jar;E:\mastercom\repository\org\junit\jupiter\junit-jupiter-engine\5.8.2\junit-jupiter-engine-5.8.2.jar;E:\mastercom\repository\org\junit\platform\junit-platform-engine\1.8.2\junit-platform-engine-1.8.2.jar;E:\mastercom\repository\org\mockito\mockito-core\4.0.0\mockito-core-4.0.0.jar;E:\mastercom\repository\net\bytebuddy\byte-buddy-agent\1.11.22\byte-buddy-agent-1.11.22.jar;E:\mastercom\repository\org\objenesis\objenesis\3.2\objenesis-3.2.jar;E:\mastercom\repository\org\mockito\mockito-junit-jupiter\4.0.0\mockito-junit-jupiter-4.0.0.jar;E:\mastercom\repository\org\skyscreamer\jsonassert\1.5.0\jsonassert-1.5.0.jar;E:\mastercom\repository\com\vaadin\external\google\android-json\0.0.20131108.vaadin1\android-json-0.0.20131108.vaadin1.jar;E:\mastercom\repository\org\springframework\spring-core\5.3.16\spring-core-5.3.16.jar;E:\mastercom\repository\org\springframework\spring-jcl\5.3.16\spring-jcl-5.3.16.jar;E:\mastercom\repository\org\springframework\spring-test\5.3.16\spring-test-5.3.16.jar;E:\mastercom\repository\org\xmlunit\xmlunit-core\2.8.4\xmlunit-core-2.8.4.jar;E:\mastercom\repository\org\springframework\boot\spring-boot-starter-data-redis\2.6.4\spring-boot-starter-data-redis-2.6.4.jar;E:\mastercom\repository\org\springframework\data\spring-data-redis\2.6.2\spring-data-redis-2.6.2.jar;E:\mastercom\repository\org\springframework\data\spring-data-keyvalue\2.6.2\spring-data-keyvalue-2.6.2.jar;E:\mastercom\repository\org\springframework\spring-oxm\5.3.16\spring-oxm-5.3.16.jar;E:\mastercom\repository\io\lettuce\lettuce-core\6.1.6.RELEASE\lettuce-core-6.1.6.RELEASE.jar;E:\mastercom\repository\io\netty\netty-common\4.1.74.Final\netty-common-4.1.74.Final.jar;E:\mastercom\repository\io\netty\netty-handler\4.1.74.Final\netty-handler-4.1.74.Final.jar;E:\mastercom\repository\io\netty\netty-resolver\4.1.74.Final\netty-resolver-4.1.74.Final.jar;E:\mastercom\repository\io\netty\netty-buffer\4.1.74.Final\netty-buffer-4.1.74.Final.jar;E:\mastercom\repository\io\netty\netty-codec\4.1.74.Final\netty-codec-4.1.74.Final.jar;E:\mastercom\repository\io\netty\netty-tcnative-classes\2.0.48.Final\netty-tcnative-classes-2.0.48.Final.jar;E:\mastercom\repository\io\netty\netty-transport\4.1.74.Final\netty-transport-4.1.74.Final.jar;E:\mastercom\repository\io\projectreactor\reactor-core\3.4.15\reactor-core-3.4.15.jar;E:\mastercom\repository\org\reactivestreams\reactive-streams\1.0.3\reactive-streams-1.0.3.jar;E:\mastercom\repository\org\springframework\boot\spring-boot-starter-cache\2.6.4\spring-boot-starter-cache-2.6.4.jar;E:\mastercom\repository\org\springframework\spring-context-support\5.3.16\spring-context-support-5.3.16.jar;E:\mastercom\repository\org\projectlombok\lombok\1.18.22\lombok-1.18.22.jar;E:\mastercom\repository\mysql\mysql-connector-java\8.0.25\mysql-connector-java-8.0.25.jar;E:\mastercom\repository\com\alibaba\druid-spring-boot-starter\1.2.8\druid-spring-boot-starter-1.2.8.jar;E:\mastercom\repository\com\alibaba\druid\1.2.8\druid-1.2.8.jar;E:\mastercom\repository\javax\annotation\javax.annotation-api\1.3.2\javax.annotation-api-1.3.2.jar;E:\mastercom\repository\org\slf4j\slf4j-api\1.7.36\slf4j-api-1.7.36.jar;E:\mastercom\repository\org\jsoup\jsoup\1.14.3\jsoup-1.14.3.jar;E:\mastercom\repository\org\apache\httpcomponents\httpclient\4.5.13\httpclient-4.5.13.jar;E:\mastercom\repository\org\apache\httpcomponents\httpcore\4.4.15\httpcore-4.4.15.jar;E:\mastercom\repository\commons-codec\commons-codec\1.15\commons-codec-1.15.jar;E:\mastercom\repository\org\java-websocket\Java-WebSocket\1.5.2\Java-WebSocket-1.5.2.jar;E:\mastercom\repository\dom4j\dom4j\1.6.1\dom4j-1.6.1.jar;E:\mastercom\repository\xml-apis\xml-apis\1.0.b2\xml-apis-1.0.b2.jar;E:\software\IntelliJ IDEA 2021.2.3\lib\idea_rt.jar" cn.ssy.jx3.plus.Jx3PlusApplication Connected to the target VM, address: '127.0.0.1:2747', transport: 'socket'

. _ _ /\ / '_ () \ \ \ \ ( ( )\ | ' | '| | ' \/ ` | \ \ \ \ \/ _)| |)| | | | | || (| | ) ) ) ) ' |__| .|| ||| |\, | / / / / =========|_|==============|__/=//// :: Spring Boot :: (v2.6.4)

2022-07-21 10:20:46.510 INFO 6028 --- [ main] c.s.j.p.Jx3PlusApplication : Starting Jx3PlusApplication using Java 1.8.0_181 on 1091-Sunsy with PID 6028 (E:\mastercom\workspace\selfWork\jx3-qq-robot-plus\target\classes started by admin in E:\mastercom\workspace\shandongWork\mtapp-tmos-sd) 2022-07-21 10:20:46.526 INFO 6028 --- [ main] c.s.j.p.Jx3PlusApplication : No active profile set, falling back to 1 default profile: "default" 2022-07-21 10:20:49.618 INFO 6028 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode! 2022-07-21 10:20:49.619 INFO 6028 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2022-07-21 10:20:49.936 INFO 6028 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 299 ms. Found 17 JPA repository interfaces. 2022-07-21 10:20:51.199 INFO 6028 --- [ main] o.s.b.w.e.t.TomcatWebServer : Tomcat initialized with port(s): 9030 (http) 2022-07-21 10:20:51.216 INFO 6028 --- [ main] o.a.c.c.StandardService : Starting service [Tomcat] 2022-07-21 10:20:51.216 INFO 6028 --- [ main] o.a.c.c.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.58] 2022-07-21 10:20:51.425 INFO 6028 --- [ main] o.a.c.c.C.[.[.[/jx3botPlus] : Initializing Spring embedded WebApplicationContext 2022-07-21 10:20:51.425 INFO 6028 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 4769 ms 2022-07-21 10:20:52.962 INFO 6028 --- [ main] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource 2022-07-21 10:20:53.410 INFO 6028 --- [ main] c.a.d.p.DruidDataSource : {dataSource-1} inited 2022-07-21 10:20:53.704 INFO 6028 --- [ main] o.h.j.i.u.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2022-07-21 10:20:53.836 INFO 6028 --- [ main] o.h.Version : HHH000412: Hibernate ORM core version 5.6.5.Final 2022-07-21 10:20:54.185 INFO 6028 --- [ main] o.h.a.c.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} 2022-07-21 10:20:54.850 INFO 6028 --- [ main] o.h.d.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect 2022-07-21 10:20:56.574 INFO 6028 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2022-07-21 10:20:56.589 INFO 6028 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2022-07-21 10:21:00.422 WARN 6028 --- [ 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-07-21 10:21:00.423 WARN 6028 --- [ 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-07-21 10:21:00.920 INFO 6028 --- [ main] otEventProviderAutoInstallBuildConfigure : The number of Installable Event Provider Factory is 0 2022-07-21 10:21:00.920 INFO 6028 --- [ main] otEventProviderAutoInstallBuildConfigure : Install Event Providers by [installAllEventProviders] 2022-07-21 10:21:00.924 WARN 6028 --- [ 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.NoClassDefFoundError: love/forte/simbot/BotManager 2022-07-21 10:21:00.928 INFO 6028 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2022-07-21 10:21:00.929 INFO 6028 --- [ main] c.a.d.p.DruidDataSource : {dataSource-1} closing ... 2022-07-21 10:21:00.941 INFO 6028 --- [ main] c.a.d.p.DruidDataSource : {dataSource-1} closed 2022-07-21 10:21:00.973 INFO 6028 --- [ main] o.a.c.c.StandardService : Stopping service [Tomcat] 2022-07-21 10:21:00.987 INFO 6028 --- [ main] ConditionEvaluationReportLoggingListener :

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2022-07-21 10:21:01.093 ERROR 6028 --- [ 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.NoClassDefFoundError: love/forte/simbot/BotManager at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:658) ~[spring-beans-5.3.16.jar:5.3.16] at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:638) ~[spring-beans-5.3.16.jar:5.3.16] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352) ~[spring-beans-5.3.16.jar:5.3.16] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195) ~[spring-beans-5.3.16.jar:5.3.16] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) ~[spring-beans-5.3.16.jar:5.3.16] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.16.jar:5.3.16] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.16.jar:5.3.16] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.16.jar:5.3.16] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.16.jar:5.3.16] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.16.jar:5.3.16] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:953) ~[spring-beans-5.3.16.jar:5.3.16] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) ~[spring-context-5.3.16.jar:5.3.16] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) ~[spring-context-5.3.16.jar:5.3.16] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145) ~[spring-boot-2.6.4.jar:2.6.4] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:740) [spring-boot-2.6.4.jar:2.6.4] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:415) [spring-boot-2.6.4.jar:2.6.4] at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) [spring-boot-2.6.4.jar:2.6.4] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1312) [spring-boot-2.6.4.jar:2.6.4] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301) [spring-boot-2.6.4.jar:2.6.4] 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.NoClassDefFoundError: love/forte/simbot/BotManager at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) ~[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 Caused by: java.lang.NoClassDefFoundError: love/forte/simbot/BotManager at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_181] at java.lang.ClassLoader.defineClass(ClassLoader.java:763) ~[?:1.8.0_181] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.8.0_181] at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) ~[?:1.8.0_181] at java.net.URLClassLoader.access$100(URLClassLoader.java:73) ~[?:1.8.0_181] at java.net.URLClassLoader$1.run(URLClassLoader.java:368) ~[?:1.8.0_181] at java.net.URLClassLoader$1.run(URLClassLoader.java:362) ~[?:1.8.0_181] at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_181] at java.net.URLClassLoader.findClass(URLClassLoader.java:361) ~[?: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 love.forte.simbot.component.mirai.MiraiBotManagerAutoRegistrarFactory.getRegistrar(MiraiBotManager.kt:332) ~[simbot-component-mirai-core-3.0.0.0.preview.13.0.jar:?] at love.forte.simbot.component.mirai.MiraiBotManagerAutoRegistrarFactory.getRegistrar(MiraiBotManager.kt:330) ~[simbot-component-mirai-core-3.0.0.0.preview.13.0.jar:?] at love.forte.simbot.application.EventProviders.installAllEventProviders(EventProviderFactory.kt:89) ~[simbot-api-3.0.0-beta-RC-20220720.132806-2.jar:?] at love.forte.simboot.spring.autoconfigure.SimbotSpringBootEventProviderAutoInstallBuildConfigure.config(SimbotSpringBootEventProviderAutoInstallBuildConfigure.kt:84) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-20220720.132806-2.jar:?] at love.forte.simboot.spring.autoconfigure.SimbotSpringBootApplicationConfiguration$simbotSpringBootApplication$2.invoke(SimbotSpringBootApplicationConfiguration.kt:103) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-20220720.132806-2.jar:?] at love.forte.simboot.spring.autoconfigure.SimbotSpringBootApplicationConfiguration$simbotSpringBootApplication$2.invoke(SimbotSpringBootApplicationConfiguration.kt:91) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-20220720.132806-2.jar:?] at love.forte.simboot.spring.autoconfigure.application.SpringBootApplicationKt$springBootApplication$3.invokeSuspend$suspendConversion0(SpringBootApplication.kt:91) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-20220720.132806-2.jar:?] at love.forte.simboot.spring.autoconfigure.application.SpringBootApplicationKt$springBootApplication$3.access$invokeSuspend$suspendConversion0(SpringBootApplication.kt) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-20220720.132806-2.jar:?] at love.forte.simboot.spring.autoconfigure.application.SpringBootApplicationKt$springBootApplication$3$1.invoke(SpringBootApplication.kt:91) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-20220720.132806-2.jar:?] at love.forte.simboot.spring.autoconfigure.application.SpringBootApplicationKt$springBootApplication$3$1.invoke(SpringBootApplication.kt:91) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-20220720.132806-2.jar:?] at love.forte.simboot.spring.autoconfigure.application.SpringBoot.create(SpringBootApplication.kt:66) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-20220720.132806-2.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-20220720.132806-2.jar:?] at love.forte.simboot.spring.autoconfigure.application.SpringBootApplicationKt$springBootApplication$3.invoke(SpringBootApplication.kt) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-20220720.132806-2.jar:?] at love.forte.simboot.spring.autoconfigure.application.SpringBootApplicationKt$springBootApplication$3.invoke(SpringBootApplication.kt) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-20220720.132806-2.jar:?] at love.forte.simbot.application.ApplicationLauncherImpl.launch(ApplicationLauncher.kt:102) ~[simbot-api-3.0.0-beta-RC-20220720.132806-2.jar:?] at love.forte.simbot.application.ApplicationLauncherImpl$launchBlocking$1.invokeSuspend(ApplicationLauncher.kt:105) ~[simbot-api-3.0.0-beta-RC-20220720.132806-2.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 kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) ~[kotlinx-coroutines-core-jvm-1.5.2.jar:?] at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:274) ~[kotlinx-coroutines-core-jvm-1.5.2.jar:?] at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85) ~[kotlinx-coroutines-core-jvm-1.5.2.jar:?] at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking(Builders.kt:59) ~[kotlinx-coroutines-core-jvm-1.5.2.jar:?] at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source) ~[kotlinx-coroutines-core-jvm-1.5.2.jar:?] at love.forte.simbot.utils.BlockingRunnerKt.runInBlocking(BlockingRunner.kt:155) ~[simbot-api-3.0.0-beta-RC-20220720.132806-2.jar:?] at love.forte.simbot.application.ApplicationLauncherImpl.launchBlocking(ApplicationLauncher.kt:105) ~[simbot-api-3.0.0-beta-RC-20220720.132806-2.jar:?] at love.forte.simboot.spring.autoconfigure.SimbotSpringBootApplicationConfiguration.simbotSpringBootApplication(SimbotSpringBootApplicationConfiguration.kt:106) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-20220720.132806-2.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 Caused by: java.lang.ClassNotFoundException: love.forte.simbot.BotManager 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 java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_181] at java.lang.ClassLoader.defineClass(ClassLoader.java:763) ~[?:1.8.0_181] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.8.0_181] at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) ~[?:1.8.0_181] at java.net.URLClassLoader.access$100(URLClassLoader.java:73) ~[?:1.8.0_181] at java.net.URLClassLoader$1.run(URLClassLoader.java:368) ~[?:1.8.0_181] at java.net.URLClassLoader$1.run(URLClassLoader.java:362) ~[?:1.8.0_181] at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_181] at java.net.URLClassLoader.findClass(URLClassLoader.java:361) ~[?: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 love.forte.simbot.component.mirai.MiraiBotManagerAutoRegistrarFactory.getRegistrar(MiraiBotManager.kt:332) ~[simbot-component-mirai-core-3.0.0.0.preview.13.0.jar:?] at love.forte.simbot.component.mirai.MiraiBotManagerAutoRegistrarFactory.getRegistrar(MiraiBotManager.kt:330) ~[simbot-component-mirai-core-3.0.0.0.preview.13.0.jar:?] at love.forte.simbot.application.EventProviders.installAllEventProviders(EventProviderFactory.kt:89) ~[simbot-api-3.0.0-beta-RC-20220720.132806-2.jar:?] at love.forte.simboot.spring.autoconfigure.SimbotSpringBootEventProviderAutoInstallBuildConfigure.config(SimbotSpringBootEventProviderAutoInstallBuildConfigure.kt:84) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-20220720.132806-2.jar:?] at love.forte.simboot.spring.autoconfigure.SimbotSpringBootApplicationConfiguration$simbotSpringBootApplication$2.invoke(SimbotSpringBootApplicationConfiguration.kt:103) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-20220720.132806-2.jar:?] at love.forte.simboot.spring.autoconfigure.SimbotSpringBootApplicationConfiguration$simbotSpringBootApplication$2.invoke(SimbotSpringBootApplicationConfiguration.kt:91) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-20220720.132806-2.jar:?] at love.forte.simboot.spring.autoconfigure.application.SpringBootApplicationKt$springBootApplication$3.invokeSuspend$suspendConversion0(SpringBootApplication.kt:91) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-20220720.132806-2.jar:?] at love.forte.simboot.spring.autoconfigure.application.SpringBootApplicationKt$springBootApplication$3.access$invokeSuspend$suspendConversion0(SpringBootApplication.kt) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-20220720.132806-2.jar:?] at love.forte.simboot.spring.autoconfigure.application.SpringBootApplicationKt$springBootApplication$3$1.invoke(SpringBootApplication.kt:91) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-20220720.132806-2.jar:?] at love.forte.simboot.spring.autoconfigure.application.SpringBootApplicationKt$springBootApplication$3$1.invoke(SpringBootApplication.kt:91) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-20220720.132806-2.jar:?] at love.forte.simboot.spring.autoconfigure.application.SpringBoot.create(SpringBootApplication.kt:66) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-20220720.132806-2.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-20220720.132806-2.jar:?] at love.forte.simboot.spring.autoconfigure.application.SpringBootApplicationKt$springBootApplication$3.invoke(SpringBootApplication.kt) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-20220720.132806-2.jar:?] at love.forte.simboot.spring.autoconfigure.application.SpringBootApplicationKt$springBootApplication$3.invoke(SpringBootApplication.kt) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-20220720.132806-2.jar:?] at love.forte.simbot.application.ApplicationLauncherImpl.launch(ApplicationLauncher.kt:102) ~[simbot-api-3.0.0-beta-RC-20220720.132806-2.jar:?] at love.forte.simbot.application.ApplicationLauncherImpl$launchBlocking$1.invokeSuspend(ApplicationLauncher.kt:105) ~[simbot-api-3.0.0-beta-RC-20220720.132806-2.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 kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) ~[kotlinx-coroutines-core-jvm-1.5.2.jar:?] at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:274) ~[kotlinx-coroutines-core-jvm-1.5.2.jar:?] at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85) ~[kotlinx-coroutines-core-jvm-1.5.2.jar:?] at kotlinx.coroutines.BuildersKtBuildersKt.runBlocking(Builders.kt:59) ~[kotlinx-coroutines-core-jvm-1.5.2.jar:?] at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source) ~[kotlinx-coroutines-core-jvm-1.5.2.jar:?] at love.forte.simbot.utils.BlockingRunnerKt.runInBlocking(BlockingRunner.kt:155) ~[simbot-api-3.0.0-beta-RC-20220720.132806-2.jar:?] at love.forte.simbot.application.ApplicationLauncherImpl.launchBlocking(ApplicationLauncher.kt:105) ~[simbot-api-3.0.0-beta-RC-20220720.132806-2.jar:?] at love.forte.simboot.spring.autoconfigure.SimbotSpringBootApplicationConfiguration.simbotSpringBootApplication(SimbotSpringBootApplicationConfiguration.kt:106) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-20220720.132806-2.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

Disconnected from the target VM, address: '127.0.0.1:2747', transport: 'socket'

Process finished with exit code 1

ForteScarlet commented 2 years ago

M3版本后有一次不兼容更新,mirai版本也要更新,参考

enchantedyou commented 2 years ago

版本:

3.0.0-beta-RC-SNAPSHOT 3.0.0.0-beta-M1 升级Mirai版本后出现如下问题请问有遇到吗: Caused by: java.lang.NoClassDefFoundError: net/mamoe/mirai/message/MessageSerializers at love.forte.simbot.component.mirai.MiraiComponent.(MiraiComponent.kt:156) ~[simbot-component-mirai-core-3.0.0.0-beta-M1.jar:?] at love.forte.simbot.component.mirai.MiraiComponentAutoRegistrarFactory.getRegistrar(MiraiComponent.kt:178) ~[simbot-component-mirai-core-3.0.0.0-beta-M1.jar:?] at love.forte.simbot.component.mirai.MiraiComponentAutoRegistrarFactory.getRegistrar(MiraiComponent.kt:175) ~[simbot-component-mirai-core-3.0.0.0-beta-M1.jar:?] at love.forte.simbot.Components.installAllComponents(Component.kt:130) ~[simbot-api-3.0.0-beta-RC-SNAPSHOT.jar:?] at love.forte.simboot.spring.autoconfigure.SimbotSpringBootComponentAutoInstallBuildConfigure.config(SimbotSpringBootComponentAutoInstallBuildConfigure.kt:82) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-SNAPSHOT.jar:?] at love.forte.simboot.spring.autoconfigure.SimbotSpringBootApplicationConfiguration$simbotSpringBootApplication$2.invoke(SimbotSpringBootApplicationConfiguration.kt:103) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-SNAPSHOT.jar:?] at love.forte.simboot.spring.autoconfigure.SimbotSpringBootApplicationConfiguration$simbotSpringBootApplication$2.invoke(SimbotSpringBootApplicationConfiguration.kt:91) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-SNAPSHOT.jar:?] at love.forte.simboot.spring.autoconfigure.application.SpringBootApplicationKt$springBootApplication$3.invokeSuspend$suspendConversion0(SpringBootApplication.kt:91) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-SNAPSHOT.jar:?] at love.forte.simboot.spring.autoconfigure.application.SpringBootApplicationKt$springBootApplication$3.access$invokeSuspend$suspendConversion0(SpringBootApplication.kt) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-SNAPSHOT.jar:?] at love.forte.simboot.spring.autoconfigure.application.SpringBootApplicationKt$springBootApplication$3$1.invoke(SpringBootApplication.kt:91) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-SNAPSHOT.jar:?] at love.forte.simboot.spring.autoconfigure.application.SpringBootApplicationKt$springBootApplication$3$1.invoke(SpringBootApplication.kt:91) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-SNAPSHOT.jar:?] at love.forte.simboot.spring.autoconfigure.application.SpringBoot.create(SpringBootApplication.kt:66) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-SNAPSHOT.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-SNAPSHOT.jar:?] at love.forte.simboot.spring.autoconfigure.application.SpringBootApplicationKt$springBootApplication$3.invoke(SpringBootApplication.kt) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-SNAPSHOT.jar:?] at love.forte.simboot.spring.autoconfigure.application.SpringBootApplicationKt$springBootApplication$3.invoke(SpringBootApplication.kt) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-SNAPSHOT.jar:?] at love.forte.simbot.application.ApplicationLauncherImpl.launch(ApplicationLauncher.kt:102) ~[simbot-api-3.0.0-beta-RC-SNAPSHOT.jar:?] at love.forte.simbot.application.ApplicationLauncherImpl$launchBlocking$1.invokeSuspend(ApplicationLauncher.kt:105) ~[simbot-api-3.0.0-beta-RC-SNAPSHOT.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 kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) ~[kotlinx-coroutines-core-jvm-1.5.2.jar:?] at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:274) ~[kotlinx-coroutines-core-jvm-1.5.2.jar:?] at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85) ~[kotlinx-coroutines-core-jvm-1.5.2.jar:?] at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59) ~[kotlinx-coroutines-core-jvm-1.5.2.jar:?] at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source) ~[kotlinx-coroutines-core-jvm-1.5.2.jar:?] at love.forte.simbot.utils.BlockingRunnerKt.runInBlocking(BlockingRunner.kt:155) ~[simbot-api-3.0.0-beta-RC-SNAPSHOT.jar:?] at love.forte.simbot.application.ApplicationLauncherImpl.launchBlocking(ApplicationLauncher.kt:105) ~[simbot-api-3.0.0-beta-RC-SNAPSHOT.jar:?] at love.forte.simboot.spring.autoconfigure.SimbotSpringBootApplicationConfiguration.simbotSpringBootApplication(SimbotSpringBootApplicationConfiguration.kt:106) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-SNAPSHOT.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 Caused by: java.lang.ClassNotFoundException: net.mamoe.mirai.message.MessageSerializers 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 love.forte.simbot.component.mirai.MiraiComponent.(MiraiComponent.kt:156) ~[simbot-component-mirai-core-3.0.0.0-beta-M1.jar:?] at love.forte.simbot.component.mirai.MiraiComponentAutoRegistrarFactory.getRegistrar(MiraiComponent.kt:178) ~[simbot-component-mirai-core-3.0.0.0-beta-M1.jar:?] at love.forte.simbot.component.mirai.MiraiComponentAutoRegistrarFactory.getRegistrar(MiraiComponent.kt:175) ~[simbot-component-mirai-core-3.0.0.0-beta-M1.jar:?] at love.forte.simbot.Components.installAllComponents(Component.kt:130) ~[simbot-api-3.0.0-beta-RC-SNAPSHOT.jar:?] at love.forte.simboot.spring.autoconfigure.SimbotSpringBootComponentAutoInstallBuildConfigure.config(SimbotSpringBootComponentAutoInstallBuildConfigure.kt:82) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-SNAPSHOT.jar:?] at love.forte.simboot.spring.autoconfigure.SimbotSpringBootApplicationConfiguration$simbotSpringBootApplication$2.invoke(SimbotSpringBootApplicationConfiguration.kt:103) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-SNAPSHOT.jar:?] at love.forte.simboot.spring.autoconfigure.SimbotSpringBootApplicationConfiguration$simbotSpringBootApplication$2.invoke(SimbotSpringBootApplicationConfiguration.kt:91) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-SNAPSHOT.jar:?] at love.forte.simboot.spring.autoconfigure.application.SpringBootApplicationKt$springBootApplication$3.invokeSuspend$suspendConversion0(SpringBootApplication.kt:91) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-SNAPSHOT.jar:?] at love.forte.simboot.spring.autoconfigure.application.SpringBootApplicationKt$springBootApplication$3.access$invokeSuspend$suspendConversion0(SpringBootApplication.kt) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-SNAPSHOT.jar:?] at love.forte.simboot.spring.autoconfigure.application.SpringBootApplicationKt$springBootApplication$3$1.invoke(SpringBootApplication.kt:91) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-SNAPSHOT.jar:?] at love.forte.simboot.spring.autoconfigure.application.SpringBootApplicationKt$springBootApplication$3$1.invoke(SpringBootApplication.kt:91) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-SNAPSHOT.jar:?] at love.forte.simboot.spring.autoconfigure.application.SpringBoot.create(SpringBootApplication.kt:66) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-SNAPSHOT.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-SNAPSHOT.jar:?] at love.forte.simboot.spring.autoconfigure.application.SpringBootApplicationKt$springBootApplication$3.invoke(SpringBootApplication.kt) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-SNAPSHOT.jar:?] at love.forte.simboot.spring.autoconfigure.application.SpringBootApplicationKt$springBootApplication$3.invoke(SpringBootApplication.kt) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-SNAPSHOT.jar:?] at love.forte.simbot.application.ApplicationLauncherImpl.launch(ApplicationLauncher.kt:102) ~[simbot-api-3.0.0-beta-RC-SNAPSHOT.jar:?] at love.forte.simbot.application.ApplicationLauncherImpl$launchBlocking$1.invokeSuspend(ApplicationLauncher.kt:105) ~[simbot-api-3.0.0-beta-RC-SNAPSHOT.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 kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) ~[kotlinx-coroutines-core-jvm-1.5.2.jar:?] at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:274) ~[kotlinx-coroutines-core-jvm-1.5.2.jar:?] at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85) ~[kotlinx-coroutines-core-jvm-1.5.2.jar:?] at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59) ~[kotlinx-coroutines-core-jvm-1.5.2.jar:?] at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source) ~[kotlinx-coroutines-core-jvm-1.5.2.jar:?] at love.forte.simbot.utils.BlockingRunnerKt.runInBlocking(BlockingRunner.kt:155) ~[simbot-api-3.0.0-beta-RC-SNAPSHOT.jar:?] at love.forte.simbot.application.ApplicationLauncherImpl.launchBlocking(ApplicationLauncher.kt:105) ~[simbot-api-3.0.0-beta-RC-SNAPSHOT.jar:?] at love.forte.simboot.spring.autoconfigure.SimbotSpringBootApplicationConfiguration.simbotSpringBootApplication(SimbotSpringBootApplicationConfiguration.kt:106) ~[simboot-core-spring-boot-starter-3.0.0-beta-RC-SNAPSHOT.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
ForteScarlet commented 2 years ago

检查是否正常下载了mirai依赖,尝试刷新或重新下载

enchantedyou commented 2 years ago

验证完成,现已符合预期 1