0

A problem occurred running the Server

launcher.java.lang.reflect.InvocationTarge                                                                                                                              tException
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Nativ                                                                                                                              e Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Native                                                                                                                              MethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(De                                                                                                                              legatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunc                                                                                                                              hWrapper.java:70)
        at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaun                                                                                                                              chWrapper.java:34)
Caused by: java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$                                                                                                                              AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loa                                                                                                                              der.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.b                                                                                                                              ase of loader 'bootstrap')
        at net.minecraft.launchwrapper.Launch.<init>(Launch.java:34)
        at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
        ... 6 more

(IK i made one other post, but this is another error)

Using Ubuntu 20.04 on a vps machine rented from contabo running 8gb ram on 4 cores.

| improve this question | | | | |
New contributor
question gfx is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • its not a duplicate, its another error. – question gfx May 22 at 21:14

Your Answer

question gfx is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.