hellominecraftla...吧 关注:890贴子:3,952
  • 0回复贴,共1

求解这该怎么办

只看楼主收藏回复

[22:13:26] [Game Launcher/ERROR]
---- Hello Minecraft! Crash Report ----
Version: 2.4.0.33
Time: 2021-12-18 22:13:26
Thread: Thread[Game Launcher,6,main]
Content:
java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap')
at org.jackhuang.hellominecraft.util.Utils.getURLString(Utils.java:56)
at org.jackhuang.hellominecraft.launcher.core.launch.AbstractMinecraftLoader.makeHeadCommand(AbstractMinecraftLoader.java:131)
at org.jackhuang.hellominecraft.launcher.core.launch.AbstractMinecraftLoader.makeLaunchingCommand(AbstractMinecraftLoader.java:142)
at org.jackhuang.hellominecraft.launcher.core.launch.GameLauncher.makeLaunchCommand(GameLauncher.java:104)
at org.jackhuang.hellominecraft.launcher.util.HMCLGameLauncher$1.run(HMCLGameLauncher.java:79)
-- System Details --
Operating System: Windows 10 (amd64), 10.0
Java Version: 15.0.1, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode, sharing), Oracle Corporation
12月 18, 2021 10:13:26 下午 org.jackhuang.hellominecraft.launcher.util.CrashReporter lambda$reportToServer$45
严重: Failed to post HMCL server.
java.net.UnknownHostException: huangyuhui.duapp.com
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:567)
at java.base/java.net.Socket.connect(Socket.java:648)
at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:177)
at java.base/sun.net.http://www.http.HttpClient.openServer(HttpClient.java:474)
at java.base/sun.net.http://www.http.HttpClient.openServer(HttpClient.java:569)
at java.base/sun.net.http://www.http.HttpClient.<init>(HttpClient.java:242)
at java.base/sun.net.http://www.http.HttpClient.New(HttpClient.java:341)
at java.base/sun.net.http://www.http.HttpClient.New(HttpClient.java:362)
at java.base/sun.net.http://www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1261)
at java.base/sun.net.http://www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1239)
at java.base/sun.net.http://www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1082)
at java.base/sun.net.http://www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1016)
at org.jackhuang.hellominecraft.util.NetUtils.post(NetUtils.java:116)
at org.jackhuang.hellominecraft.util.NetUtils.post(NetUtils.java:102)
at org.jackhuang.hellominecraft.util.NetUtils.post(NetUtils.java:98)
at org.jackhuang.hellominecraft.util.NetUtils.post(NetUtils.java:94)
at org.jackhuang.hellominecraft.launcher.util.CrashReporter.lambda$reportToServer$45(CrashReporter.java:138)
at org.jackhuang.hellominecraft.launcher.util.CrashReporter.access$lambda$1(CrashReporter.java)
at org.jackhuang.hellominecraft.launcher.util.CrashReporter$$Lambda$2.run(Unknown Source)
at java.base/java.lang.Thread.run(Thread.java:832)


IP属地:上海1楼2021-12-18 22:14回复