I am attempting to Make a forge server using multi craft and Hostinger. I have set the jar file to be used by the server as a renamed version of the forge-1.12.2- file and i have also dragged all the other pre generated forge files into the server and accepted the EULA. When I load a vanilla 1.12.2 server it works fine but when i use the steps listed above to launch a forge server this is what the console outputs:

04.05 19:52:44 [Multicraft] Received start command
04.05 19:52:44 [Multicraft] Loading server properties
04.05 19:52:44 [Multicraft] Starting server!
04.05 19:52:44 [Multicraft] Loaded config for "Vanilla Default Minecraft Server"
04.05 19:52:44 [Multicraft] Updating eula.txt file
04.05 19:52:45 [Server] INFO A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException
04.05 19:52:45 [Server] INFO at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
04.05 19:52:45 [Server] INFO at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
04.05 19:52:45 [Server] INFO at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
04.05 19:52:45 [Server] INFO at java.base/java.lang.reflect.Method.invoke(Method.java:566)
04.05 19:52:45 [Server] INFO at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:70)
04.05 19:52:45 [Server] INFO at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34)
04.05 19:52:45 [Server] INFO 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')
04.05 19:52:45 [Server] INFO at net.minecraft.launchwrapper.Launch.<init>(Launch.java:34)
04.05 19:52:45 [Server] INFO at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
04.05 19:52:45 [Server] INFO ... 6 more
04.05 19:52:45 [Multicraft] Server shut down (starting)
04.05 19:52:45 [Multicraft] Restarting crashed server in 5 seconds
04.05 19:52:45 [Multicraft] Looks like a crash, check the server console. Return value: 1
04.05 19:52:45 [Multicraft] Server stopped
04.05 19:52:49 [Multicraft] Received stop command
04.05 19:52:49 [Multicraft] Server stopped

It seems to crash after updating the eula file from what I can see.

  • technical support for mods is off topic – Topcode May 5 at 12:31