mirai启动失败
-
报错如下,我重启了一次mirai后就再也打不开了,服务器重启无效。
15:03:43 [INFO] iTXTech Mirai Console Loader version 1.0.5-9b6cf6d 15:03:43 [INFO] https://github.com/iTXTech/mirai-console-loader 15:03:43 [INFO] This program is licensed under GNU AGPL v3 15:03:43 [DEBUG] Loading script: announcement.js 15:03:43 [DEBUG] Loading script: boot.js 15:03:44 [DEBUG] Loading script: updater.js 15:03:44 [DEBUG] Loading script: oraclejdk.js 15:03:44 [DEBUG] Loading script: config.js 15:03:44 [DEBUG] Loading script: repo.js 15:03:46 [INFO] Fetching Mirai Console Loader Announcement... 15:03:50 [ERROR] Failed to fetch announcement. 15:03:50 [INFO] Verifying "net.mamoe:mirai-console" version 2.8.0 15:03:53 [ERROR] org.mozilla.javascript.WrappedException: Wrapped com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $ (updater.js#57) at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1899) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:160) at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:226) at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1692) at script.check(updater.js:57) at script(updater.js:38) at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:1013) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:412) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3578) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:107) at org.mozilla.javascript.ArrowFunction.call(ArrowFunction.java:43) at org.mozilla.javascript.InterfaceAdapter.invokeImpl(InterfaceAdapter.java:155) at org.mozilla.javascript.InterfaceAdapter.lambda$invoke$0(InterfaceAdapter.java:105) at org.mozilla.javascript.Context.call(Context.java:554) at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:522) at org.mozilla.javascript.InterfaceAdapter.invoke(InterfaceAdapter.java:105) at org.mozilla.javascript.jdk18.VMBridge_jdk18$1.invoke(VMBridge_jdk18.java:126) at com.sun.proxy.$Proxy4.run(Unknown Source) at org.itxtech.mcl.script.ScriptManager.phaseLoad(ScriptManager.java:93) at org.itxtech.mcl.Loader.start(Loader.java:126) at org.itxtech.mcl.Loader.main(Loader.java:53) Caused by: com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $ at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:226) at com.google.gson.Gson.fromJson(Gson.java:932) at com.google.gson.Gson.fromJson(Gson.java:897) at com.google.gson.Gson.fromJson(Gson.java:846) at org.itxtech.mcl.component.Repository.fetchPackage(Repository.java:68) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138) ... 18 more Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $ at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:386) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:215) ... 27 more
-
重装恢复,但是不知道出现该问题的原因。
-
阿里云cdn缓存问题
-
我也遇到了这个问题,怎么在不重新安装系统搞好?qaq
-
@空蚀233 其实无需顾虑重装并不会清空数据。
-
@空蚀233 哦哦