A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException

  • Tech Support section is for getting help with FTB related problems. If there's a repeatable issue that can be labeled as a bug, then please use the issue tracker for the pack or the app at GitHub issue trackers - If there's no repository for a pack that means that the pack is old and/or will not be updated. Bugs for older packs will not be fixed, unless they are critical.

Quex

New Member
Jun 27, 2021
3
0
2
Starting Sky Factory 3 Server...
A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:62)
at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:31)
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.<init>(Launch.java:34)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
... 6 more

I wanted to set up a Skyfactory 3 Server for me and my friends but every time i run Serverstart.bat i get this massage and the server doesn't start but if i start forge-1.10.2-12.18.3.2511-universal it starts but crashes because it doesnt't get enough ram.I installed the newest Java version.
 

Darkdemon593

New Member
Jun 28, 2021
3
0
2
I have the exact same problem and I have no idea how to fix I reinstalled java 8 but nothing this has been happening to all of my servers any ideas on how to fix?
 

Darkdemon593

New Member
Jun 28, 2021
3
0
2
wait I might be a bit dumb so I just launched the server with this
solve.PNG
and it worked so idrk
 

Quex

New Member
Jun 27, 2021
3
0
2
I fixed it i deleted jfk and installed Jdk 8 and it kinda wored i got another Problem the Server is not starting its loading Infinitiv