Jump to content

Failure On Launching 1.12.2 Forge Servers(14.23.5.2854)


LJM12914

Recommended Posts

Thousands of times when I tried to launch it but didn't make sense.

It responsed this:(I HAVE used bat,simply doubleclick forge-1.12.2-14.23.5.2854.jar and forge-1.12.2-14.23.5.2854-universal.jar,and my eula was set to true)

 

A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:564)
        at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:70)
        at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34)
Caused by: 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 net.minecraft.launchwrapper.Launch.<init>(Launch.java:34)
        at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

 

The content from log file:(Yes I'm from CN)

 

[00:29:33] [Server thread/INFO]: Starting minecraft server version 1.12.2
[00:29:33] [Server thread/INFO]: Loading properties
[00:29:33] [Server console handler/ERROR]: Exception handling console input
java.io.IOException: 句柄无效。
    at java.io.FileInputStream.readBytes(Native Method) ~[?:?]
    at java.io.FileInputStream.read(FileInputStream.java:271) ~[?:?]
    at java.io.BufferedInputStream.read1(BufferedInputStream.java:282) ~[?:?]
    at java.io.BufferedInputStream.read(BufferedInputStream.java:343) ~[?:?]
    at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:297) ~[?:?]
    at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:339) ~[?:?]
    at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:188) ~[?:?]
    at java.io.InputStreamReader.read(InputStreamReader.java:181) ~[?:?]
    at java.io.BufferedReader.fill(BufferedReader.java:161) ~[?:?]
    at java.io.BufferedReader.readLine(BufferedReader.java:326) ~[?:?]
    at java.io.BufferedReader.readLine(BufferedReader.java:392) ~[?:?]
    at nz$2.run(SourceFile:100) [minecraft_server.1.12.2.jar:?]
[00:29:33] [Server thread/INFO]: Default game type: SPECTATOR
[00:29:33] [Server thread/INFO]: Generating keypair
[00:29:33] [Server thread/INFO]: Starting Minecraft server on 127.0.0.1:25567
[00:29:33] [Server thread/INFO]: Using default channel type
[00:29:33] [Server thread/WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
[00:29:33] [Server thread/WARN]: The server will make no attempt to authenticate usernames. Beware.
[00:29:33] [Server thread/WARN]: While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
[00:29:33] [Server thread/WARN]: To change this, set "online-mode" to "true" in the server.properties file.
[00:29:33] [Server thread/INFO]: Preparing level "world"
[00:29:33] [Server thread/INFO]: Loaded 488 advancements
[00:29:33] [Server thread/INFO]: Preparing start region for level 0
[00:29:34] [Server thread/INFO]: Preparing spawn area: 43%
[00:29:35] [Server thread/INFO]: Done (1.735s)! For help, type "help" or "?"
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:35] [Server thread/WARN]: Ignoring unknown attribute 'forge.swimSpeed'
[00:29:44] [Server thread/INFO]: Stopping the server
[00:29:44] [Server thread/INFO]: Stopping server
[00:29:44] [Server thread/INFO]: Saving players
[00:29:44] [Server thread/INFO]: Saving worlds
[00:29:44] [Server thread/INFO]: Saving chunks for level 'world'/overworld
[00:29:44] [Server thread/INFO]: Saving chunks for level 'world'/the_nether
[00:29:44] [Server thread/INFO]: Saving chunks for level 'world'/the_end
[00:29:44] [Server Shutdown Thread/INFO]: Stopping server
[00:29:44] [Server Shutdown Thread/INFO]: Saving players
[00:29:44] [Server Shutdown Thread/INFO]: Saving worlds
[00:29:44] [Server Shutdown Thread/INFO]: Saving chunks for level 'world'/overworld

 

Anyone can help me please?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.