Jump to content

Server will not start


Recommended Posts

I am creating a server for myself and a bunch of friends to play on, but i cannot get it to work. I have tried fresh installs of forge and different versions of 1.10.2 and nothing has worked . It gives me this when I try to start it. 


A problem occurred running the Server launcher.java.lang.reflect.InvocationTarge
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Nativ
e Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknow
n Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Un
known Source)
        at java.base/java.lang.reflect.Method.invoke(Unknown Source)
        at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunc
        at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaun
Caused by: java.lang.ClassCastException: java.base/jdk.internal.loader.ClassLoad
ers$AppClassLoader cannot be cast to java.base/java.net.URLClassLoader
        at net.minecraft.launchwrapper.Launch.<init>(Launch.java:34)
        at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
        ... 6 more
Press any key to continue . . .



Thanks for any help. 


Edit: I tried different versions of forge entirely(1.12 and 1.11) and those also game me the same startup error. 

Edited by AreUThreateningMe
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

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