MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    新人求助

    使用交流
    4
    6
    524
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      Cold-sand2008 last edited by

      首次运行时出现报错
      openjdk16
      ubuntu 20.04 lts

      16:10:57 [INFO] Verifying "net.mamoe:mirai-console" v
      16:10:57 [ERROR] "net.mamoe:mirai-console" is corrupted.
      16:10:57 [ERROR] java.io.FileNotFoundException: libs/mirai-console-2.8.0.jar (No such file or directory)
      at java.base/java.io.FileOutputStream.open0(Native Method)
      at java.base/java.io.FileOutputStream.open(FileOutputStream.java:291)
      at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:234)
      at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:184)
      at org.itxtech.mcl.impl.DefaultDownloader.download(DefaultDownloader.java:49)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:567)
      at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138)
      at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:226)
      at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1692)
      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 jdk.proxy2/jdk.proxy2.$Proxy1.run(Unknown Source)
      at org.itxtech.mcl.script.ScriptManager.phaseLoad(ScriptManager.java:98)
      at org.itxtech.mcl.Loader.lambda$start$2(Loader.java:172)
      at org.itxtech.mcl.Loader.tryCatching(Loader.java:145)
      at org.itxtech.mcl.Loader.start(Loader.java:172)
      at org.itxtech.mcl.Loader.main(Loader.java:68)

      Downloading mirai-console-2.8.0.jar [==============================]
      16:10:58 [ERROR] java.io.FileNotFoundException: libs/mirai-console-2.8.0.sha1 (No such file or directory)
      at java.base/java.io.FileOutputStream.open0(Native Method)
      at java.base/java.io.FileOutputStream.open(FileOutputStream.java:291)
      at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:234)
      at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:184)
      at org.itxtech.mcl.impl.DefaultDownloader.download(DefaultDownloader.java:49)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:567)
      at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138)
      at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:226)
      at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1692)
      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 jdk.proxy2/jdk.proxy2.$Proxy1.run(Unknown Source)
      at org.itxtech.mcl.script.ScriptManager.phaseLoad(ScriptManager.java:98)
      at org.itxtech.mcl.Loader.lambda$start$2(Loader.java:172)
      at org.itxtech.mcl.Loader.tryCatching(Loader.java:145)
      at org.itxtech.mcl.Loader.start(Loader.java:172)
      at org.itxtech.mcl.Loader.main(Loader.java:68)

      1 Reply Last reply Reply Quote 0
      • C
        Cold-sand2008 last edited by

        ownloading mirai-console-terminal-2.8.0.jar [==============================]
        16:10:59 [ERROR] java.io.FileNotFoundException: libs/mirai-console-terminal-2.8.0.sha1 (No such file or directory)
        at java.base/java.io.FileOutputStream.open0(Native Method)
        at java.base/java.io.FileOutputStream.open(FileOutputStream.java:291)
        at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:234)
        at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:184)
        at org.itxtech.mcl.impl.DefaultDownloader.download(DefaultDownloader.java:49)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:567)
        at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138)
        at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:226)
        at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1692)
        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 jdk.proxy2/jdk.proxy2.$Proxy1.run(Unknown Source)
        at org.itxtech.mcl.script.ScriptManager.phaseLoad(ScriptManager.java:98)
        at org.itxtech.mcl.Loader.lambda$start$2(Loader.java:172)
        at org.itxtech.mcl.Loader.tryCatching(Loader.java:145)
        at org.itxtech.mcl.Loader.start(Loader.java:172)
        at org.itxtech.mcl.Loader.main(Loader.java:68)

        Downloading mirai-console-terminal-2.8.0.sha1 [==============================]
        16:10:59 [ERROR] The local file "net.mamoe:mirai-console-terminal" is still corrupted, please check the network.
        16:10:59 [ERROR] Failed to verify package "net.mamoe:mirai-console-terminal"
        16:10:59 [ERROR] java.io.FileNotFoundException: config.json (Permission denied)
        at java.base/java.io.FileOutputStream.open0(Native Method)
        at java.base/java.io.FileOutputStream.open(FileOutputStream.java:291)
        at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:234)
        at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:184)
        at java.base/java.io.FileWriter.<init>(FileWriter.java:96)
        at org.itxtech.mcl.component.Config.save(Config.java:86)
        at org.itxtech.mcl.Loader.saveConfig(Loader.java:140)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:567)
        at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138)
        at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:226)
        at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1692)
        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 jdk.proxy2/jdk.proxy2.$Proxy1.run(Unknown Source)
        at org.itxtech.mcl.script.ScriptManager.phaseLoad(ScriptManager.java:98)
        at org.itxtech.mcl.Loader.lambda$start$2(Loader.java:172)
        at org.itxtech.mcl.Loader.tryCatching(Loader.java:145)
        at org.itxtech.mcl.Loader.start(Loader.java:172)
        at org.itxtech.mcl.Loader.main(Loader.java:68)

        16:10:59 [INFO] Verifying "net.mamoe:mirai-core-all" v
        16:10:59 [ERROR] "net.mamoe:mirai-core-all" is corrupted.
        16:10:59 [ERROR] java.io.FileNotFoundException: libs/mirai-core-all-2.8.0.jar (No such file or directory)
        at java.base/java.io.FileOutputStream.open0(Native Method)
        at java.base/java.io.FileOutputStream.open(FileOutputStream.java:291)
        at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:234)
        at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:184)
        at org.itxtech.mcl.impl.DefaultDownloader.download(DefaultDownloader.java:49)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:567)
        at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138)
        at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:226)
        at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1692)
        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 jdk.proxy2/jdk.proxy2.$Proxy1.run(Unknown Source)
        at org.itxtech.mcl.script.ScriptManager.phaseLoad(ScriptManager.java:98)
        at org.itxtech.mcl.Loader.lambda$start$2(Loader.java:172)
        at org.itxtech.mcl.Loader.tryCatching(Loader.java:145)
        at org.itxtech.mcl.Loader.start(Loader.java:172)
        at org.itxtech.mcl.Loader.main(Loader.java:68)

        Downloading mirai-core-all-2.8.0.jar [==============================]
        16:10:59 [ERROR] java.io.FileNotFoundException: libs/mirai-core-all-2.8.0.sha1 (No such file or directory)
        at java.base/java.io.FileOutputStream.open0(Native Method)
        at java.base/java.io.FileOutputStream.open(FileOutputStream.java:291)
        at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:234)
        at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:184)
        at org.itxtech.mcl.impl.DefaultDownloader.download(DefaultDownloader.java:49)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:567)
        at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138)
        at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:226)
        at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1692)
        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 jdk.proxy2/jdk.proxy2.$Proxy1.run(Unknown Source)
        at org.itxtech.mcl.script.ScriptManager.phaseLoad(ScriptManager.java:98)
        at org.itxtech.mcl.Loader.lambda$start$2(Loader.java:172)
        at org.itxtech.mcl.Loader.tryCatching(Loader.java:145)
        at org.itxtech.mcl.Loader.start(Loader.java:172)
        at org.itxtech.mcl.Loader.main(Loader.java:68)

        Downloading mirai-core-all-2.8.0.sha1 [==============================]
        16:10:59 [ERROR] The local file "net.mamoe:mirai-core-all" is still corrupted, please check the network.
        16:10:59 [ERROR] Failed to verify package "net.mamoe:mirai-core-all"
        16:10:59 [ERROR] java.io.FileNotFoundException: config.json (Permission denied)
        at java.base/java.io.FileOutputStream.open0(Native Method)
        at java.base/java.io.FileOutputStream.open(FileOutputStream.java:291)
        at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:234)
        at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:184)
        at java.base/java.io.FileWriter.<init>(FileWriter.java:96)
        at org.itxtech.mcl.component.Config.save(Config.java:86)
        at org.itxtech.mcl.Loader.saveConfig(Loader.java:140)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:567)
        at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138)
        at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:226)
        at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1692)
        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 jdk.proxy2/jdk.proxy2.$Proxy1.run(Unknown Source)
        at org.itxtech.mcl.script.ScriptManager.phaseLoad(ScriptManager.java:98)
        at org.itxtech.mcl.Loader.lambda$start$2(Loader.java:172)
        at org.itxtech.mcl.Loader.tryCatching(Loader.java:145)
        at org.itxtech.mcl.Loader.start(Loader.java:172)
        at org.itxtech.mcl.Loader.main(Loader.java:68)

        16:10:59 [INFO] Verifying "org.itxtech:mcl-addon" v
        16:10:59 [ERROR] "org.itxtech:mcl-addon" is corrupted.
        16:11:00 [ERROR] java.io.FileNotFoundException: plugins/mcl-addon-1.2.2.jar (No such file or directory)
        at java.base/java.io.FileOutputStream.open0(Native Method)
        at java.base/java.io.FileOutputStream.open(FileOutputStream.java:291)
        at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:234)
        at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:184)
        at org.itxtech.mcl.impl.DefaultDownloader.download(DefaultDownloader.java:49)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:567)
        at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138)
        at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:226)
        at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1692)
        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 jdk.proxy2/jdk.proxy2.$Proxy1.run(Unknown Source)
        at org.itxtech.mcl.script.ScriptManager.phaseLoad(ScriptManager.java:98)
        at org.itxtech.mcl.Loader.lambda$start$2(Loader.java:172)
        at org.itxtech.mcl.Loader.tryCatching(Loader.java:145)
        at org.itxtech.mcl.Loader.start(Loader.java:172)
        at org.itxtech.mcl.Loader.main(Loader.java:68)

        Downloading mcl-addon-1.2.2.jar [==============================]
        16:11:00 [ERROR] java.io.FileNotFoundException: plugins/mcl-addon-1.2.2.sha1 (No such file or directory)
        at java.base/java.io.FileOutputStream.open0(Native Method)
        at java.base/java.io.FileOutputStream.open(FileOutputStream.java:291)
        at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:234)
        at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:184)
        at org.itxtech.mcl.impl.DefaultDownloader.download(DefaultDownloader.java:49)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:567)
        at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138)
        at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:226)
        at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1692)
        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 jdk.proxy2/jdk.proxy2.$Proxy1.run(Unknown Source)
        at org.itxtech.mcl.script.ScriptManager.phaseLoad(ScriptManager.java:98)
        at org.itxtech.mcl.Loader.lambda$start$2(Loader.java:172)
        at org.itxtech.mcl.Loader.tryCatching(Loader.java:145)
        at org.itxtech.mcl.Loader.start(Loader.java:172)
        at org.itxtech.mcl.Loader.main(Loader.java:68)

        Downloading mcl-addon-1.2.2.sha1 [==============================]
        16:11:00 [ERROR] The local file "org.itxtech:mcl-addon" is still corrupted, please check the network.
        16:11:00 [ERROR] Failed to verify package "org.itxtech:mcl-addon"
        16:11:00 [ERROR] java.io.FileNotFoundException: config.json (Permission denied)
        at java.base/java.io.FileOutputStream.open0(Native Method)
        at java.base/java.io.FileOutputStream.open(FileOutputStream.java:291)
        at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:234)
        at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:184)
        at java.base/java.io.FileWriter.<init>(FileWriter.java:96)
        at org.itxtech.mcl.component.Config.save(Config.java:86)
        at org.itxtech.mcl.Loader.saveConfig(Loader.java:140)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:567)
        at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138)
        at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:226)
        at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1692)
        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 jdk.proxy2/jdk.proxy2.$Proxy1.run(Unknown Source)
        at org.itxtech.mcl.script.ScriptManager.phaseLoad(ScriptManager.java:98)
        at org.itxtech.mcl.Loader.lambda$start$2(Loader.java:172)
        at org.itxtech.mcl.Loader.tryCatching(Loader.java:145)
        at org.itxtech.mcl.Loader.start(Loader.java:172)
        at org.itxtech.mcl.Loader.main(Loader.java:68)

        16:11:00 [ERROR] java.io.FileNotFoundException: config.json (Permission denied)
        at java.base/java.io.FileOutputStream.open0(Native Method)
        at java.base/java.io.FileOutputStream.open(FileOutputStream.java:291)
        at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:234)
        at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:184)
        at java.base/java.io.FileWriter.<init>(FileWriter.java:96)
        at org.itxtech.mcl.component.Config.save(Config.java:86)
        at org.itxtech.mcl.Loader.saveConfig(Loader.java:140)
        at org.itxtech.mcl.Loader.start(Loader.java:173)
        at org.itxtech.mcl.Loader.main(Loader.java:68)

        起舞弄清影 1 Reply Last reply Reply Quote 0
        • MrXiaoM
          MrXiaoM 童心未泯 last edited by

          java.io.FileNotFoundException: config.json (Permission denied)

          请检查mcl是否有权限访问文件,必要时使用 sudo sh ./mcl
          另外,日志中多处提到“please check the network.”,请检查你的网络是否正常,防火墙有没有拦截 mcl 下载文件

          C 1 Reply Last reply Reply Quote 0
          • C
            Cold-sand2008 @MrXiaoM last edited by

            @mrxiaom 谢谢,已经解决了

            A 1 Reply Last reply Reply Quote 0
            • A
              Aper-mesa @Cold-sand2008 last edited by

              怎么解决的

              1 Reply Last reply Reply Quote 0
              • 起舞弄清影
                起舞弄清影 摸鱼 @Cold-sand2008 last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact