SevTech: Ages of the Sky

SevTech: Ages of the Sky

1M Downloads

i can't launch my server

Kehmit opened this issue ยท 2 comments

commented

Bug Description

Did this behavior use to work in the previous version?

Steps to Reproduce (for bugs)

Logs

  • Client/Server Log:
    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)

  • Crash Log:
    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

Client Information

  • Modpack Version:
  • Java Version:
  • Launcher Used:
  • Memory Allocated:
  • Server/LAN/Single Player:
  • Optifine Installed:
  • Shaders Enabled:

World Information

  • Modpack Version world created in:
  • Additional Content Installed:

Server Information

  • Java Version: 21
  • Operating System: windows
  • Hoster/Hosting Solution: I host on my computer
  • Sponge (Non-Vanilla Forge) Server: forge
commented

Thank you for the help!

commented

You must use Java 8. This is a requirement of forge for 1.12.2.