下载了mcl 2.1.0覆盖文件夹之后直接打开mcl的cmd会闪退,打开mirai启动cmd会变成这样
Mirai Dice 启动脚本
初始化
检测Java
Java: .\jre\bin\java
检测Git
Git: .\git\cmd\git
01:01:50 [ERROR] com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 4 column 18 path $.maven_repo
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:225)
at com.google.gson.Gson.fromJson(Gson.java:991)
at org.itxtech.mcl.component.Config.load(Config.java:84)
at org.itxtech.mcl.Loader.loadConfig(Loader.java:112)
at org.itxtech.mcl.Loader.main(Loader.java:78)
Caused by: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 4 column 18 path $.maven_repo
at com.google.gson.stream.JsonReader.beginArray(JsonReader.java:350)
at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:80)
at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:61)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:130)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:221)
... 4 more
01:01:50 [ERROR] Invalid configuration file. It has been renamed to C:\Users\Administrator\Desktop\Mirai\config.json.1661965310132.bak
01:01:50 [INFO] iTXTech Mirai Console Loader version 2.1.0-71ec418
01:01:50 [INFO] https://github.com/iTXTech/mirai-console-loader
01:01:50 [INFO] This program is licensed under GNU AGPL v3
01:01:50 [INFO] MCL Addon is installed! Website: https://github.com/iTXTech/mcl-addon
01:01:50 [WARN] To remove MCL Addon, run "./mcl --disable-module addon" and "./mcl --remove-package org.itxtech:mcl-addon"
01:01:51 [INFO] Mirai Console Loader Announcement:
Mirai Console Loader 公告栏
如果在图片上传的时候遇到问题请与我们联系 (需要提供图片文件源本)
`- 如 Unsupported image type for ExternalResource *
` considering use gif/png/bmp/jpg format.
`- Tracker: https://github.com/mamoe/mirai/issues/new/choose
常用资源整合
`- https://mirai.mamoe.net/topic/653
MCL 已推出 2.1.0,更好的支持 Mirai 2.11 的插件系统,建议更新。
01:01:51 [INFO] Verifying "net.mamoe:mirai-console"
01:01:51 [INFO] Updating "net.mamoe:mirai-console" to v2.12.1
01:01:52 [INFO] Verifying "net.mamoe:mirai-console-terminal"
01:01:52 [INFO] Updating "net.mamoe:mirai-console-terminal" to v2.12.1
01:01:52 [INFO] Verifying "net.mamoe:mirai-core-all"
01:01:52 [INFO] Updating "net.mamoe:mirai-core-all" to v2.12.1
01:01:52 [INFO] Verifying "org.itxtech:mcl-addon"
01:01:52 [INFO] Updating "org.itxtech:mcl-addon" to v2.0.2
2022-09-01 01:01:55 I/main: Starting mirai-console...
2022-09-01 01:01:55 I/main: Backend: version 2.12.1, built on 2022-07-31 17:49:27.
2022-09-01 01:01:55 I/main: Frontend Terminal: version 2.12.1, provided by Mamoe Technologies
2022-09-01 01:01:55 I/main: Welcome to visit https://mirai.mamoe.net/
2022-09-01 01:01:55 W/stderr: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
2022-09-01 01:01:55 W/stderr: SLF4J: Defaulting to no-operation (NOP) logger implementation
2022-09-01 01:01:55 W/stderr: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
2022-09-01 01:01:55 E/JvmPluginLoader: 移动 MiraiNative v2.0.5-cp 的数据文件目录(C:\Users\Administrator\Desktop\Mirai\data\MiraiNative)到 C:\Users\Administrator\Desktop\Mirai\data\org.itxtech.mirainative 失败, 原因:数据文件目录(C:\Users\Administrator\Desktop\Mirai\data\org.itxtech.mirainative)被占用
2022-09-01 01:01:55 E/JvmPluginLoader: Mirai Console 将自动关闭, 请删除或移动该目录后再启动
2022-09-01 01:01:55 I/JvmPluginLoader: 移动 MiraiNative v2.0.5-cp 的数据文件目录(C:\Users\Administrator\Desktop\Mirai\data\MiraiNative)到 C:\Users\Administrator\Desktop\Mirai\data\org.itxtech.mirainative
2022-09-01 01:01:55 E/JvmPluginLoader: 移动 MiraiNative v2.0.5-cp 的数据文件目录(C:\Users\Administrator\Desktop\Mirai\data\MiraiNative)到 C:\Users\Administrator\Desktop\Mirai\data\org.itxtech.mirainative 失败
2022-09-01 01:01:55 E/JvmPluginLoader: Mirai Console 将自动关闭, 请手动移动该文件夹后再启动
2022-09-01 01:01:55 I/JvmPluginLoader: 移动 MiraiNative v2.0.5-cp 的数据文件目录(C:\Users\Administrator\Desktop\Mirai\data\MiraiNative)到 C:\Users\Administrator\Desktop\Mirai\data\org.itxtech.mirainative 完成
2022-09-01 01:01:55 I/MiraiNative: 当前系统: Windows Server 2019
2022-09-01 01:01:55 I/MiraiNative: 当前架构: x86
2022-09-01 01:01:56 I/plugin: Successfully loaded plugin MiraiNative v2.0.5-cp
2022-09-01 01:01:56 I/plugin: Cannot load plugin MCL Addon v2.0.2
2022-09-01 01:01:56 E/main: Failed to init MiraiConsole.
kotlinx.coroutines.JobCancellationException: Job was cancelled; job=SupervisorJobImpl{Cancelled}@10390b9
请按任意键继续. . .
如果使用文件夹内自带的更新mirai的cmd,会自动将mcl版本“更新”成1.0.7