System Information
Field | Value |
---|---|
Operating System | Linux - Ubuntu 24.04.2 on x86_64 |
Product | AMP ‘Phobos’ v2.6.0.12 (Mainline) |
Virtualization | None |
Application | Minecraft |
Module | MinecraftModule |
Running in Container | No |
Current State | Failed |
Problem Description
Issue
I cant Install any modloader/modpack for minecraft. Ive dove so my things.I even installed the server on my PC(works fine there) send it via SFTP to the server and now i cant start because a) minecraft_server.jar is missing (well install it then) or b) because amp say there is an error and its my fault. For a “simple” server hoster with a quote “focus on ease of use through its intuitive user interface and simple setup process.” i am screaming.
Reproduction Steps
- Install new Instance
- choose any forge/FTB server installer and install it
- Try to run the server
error from Console on startup try
A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:109)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
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.(Launch.java:34)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
… 3 more