I have used the basic tutorial shown here,Installing Minecraft Forge Server | HostHorde Forums, however the server refuses to start. The console shows this error: 26.12 08:29:16 [Server] INFO /run.sh: line 31: 29088 Killed /monitor.sh "$PID" "$USER" 26.12 08:29:15 [Server] INFO ... 6 more 26.12 08:29:15 [Server] INFO at net.minecraft.launchwrapper.Launch.main(Launch.java:28) 26.12 08:29:15 [Server] INFO at net.minecraft.launchwrapper.Launch.<init>(Launch.java:34) 26.12 08:29:15 [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') 26.12 08:29:15 [Server] INFO at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34) 26.12 08:29:15 [Server] INFO at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:70) 26.12 08:29:15 [Server] INFO at java.base/java.lang.reflect.Method.invoke(Method.java:566) 26.12 08:29:15 [Server] INFO at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 26.12 08:29:15 [Server] INFO at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 26.12 08:29:15 [Server] INFO at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 26.12 08:29:15 [Server] INFO A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException 26.12 08:29:15 [Server] INFO OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release. 26.12 08:29:14 [Server] INFO /usr/bin/java $START 26.12 08:29:14 [Multicraft] Loaded config for "Mod: Custom Server" 26.12 08:29:14 [Multicraft] Starting server! Could someone help me fix this issue.
I am also getting this same error when trying to set up an FTB revelations server. I followed the guide https://www.hosthorde.com/forums/threads/installing-feed-the-beast-modpacks-1-5-2-1-6-4.36/ although I am using Minecraft 1.12.2. There is also this guide https://www.hosthorde.com/forums/threads/installing-feed-the-beast-modpacks-1-7-10-1-10-2.395/ but neither seem to help get the server running. Any assistance with this would be greatly appriciated
I got this from the support team seems to have worked for me to use java 8 Rename your server's current JAR file to "custom_server.jar". Download https://www.hosthorde.com/downloads/8Launcher.jar Upload the file to your servers "jar" folder. In the Multicraft panel, set the JAR File to "8Launcher.jar". Reboot your server.