(Minecraft version 1.16.4) when I try to run the forge server file to open the server it doesn't work. When I try to open it through command line it gives me this:
2021-02-04 23:19:28,649 main WARN Advanced terminal features are not available in this environment
[23:19:28] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 35.1.4, --fml.mcpVersion, 20201102.104115, --fml.mcVersion, 1.16.4, --fml.forgeGroup, net.minecraftforge]
[23:19:28] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 8.0.6+85+master.325de55 starting: java version 1.8.0_281 by Oracle Corporation
[23:19:28] [main/INFO] [op.OptiFineTransformationService/]: OptiFineTransformationService.onLoad
[23:19:28] [main/INFO] [op.OptiFineTransformationService/]: OptiFine ZIP file: C:\Users\Indio\Desktop\Media\server gassxempyxindio\mods\OptiFine-OptiFine-1.16.4_HD_U_G6_pre12.jar
[23:19:28] [main/INFO] [op.OptiFineTransformer/]: Target.PRE_CLASS is available
[23:19:28] [main/INFO] [ne.mi.fm.lo.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust
[23:19:28] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.2 Source=file:/C:/Users/Indio/Desktop/Media/server%20gassxempyxindio/libraries/org/spongepowered/mixin/0.8.2/mixin-0.8.2.jar Service=ModLauncher Env=SERVER
[23:19:29] [main/INFO] [op.OptiFineTransformationService/]: OptiFineTransformationService.initialize
[23:19:29] [main/INFO] [op.OptiFineTransformationService/]: OptiFineTransformationService.transformers
[23:19:29] [main/INFO] [op.OptiFineTransformer/]: Targets: 305
[23:19:29] [main/INFO] [op.OptiFineTransformationService/]: additionalClassesLocator: [optifine., net.optifine.]
[23:19:29] [main/INFO] [cp.mo.mo.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmlserver' with arguments [--gameDir, .]
[23:19:29] [main/FATAL] [ne.mi.fm.lo.RuntimeDistCleaner/DISTXFORM]: Attempted to load class net/minecraft/client/gui/screen/Screen for invalid dist DEDICATED_SERVER
Exception in thread "main" [23:19:29] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
[23:19:29] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:39)
[23:19:29] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54)
[23:19:29] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72)
[23:19:29] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at cpw.mods.modlauncher.Launcher.run(Launcher.java:82)
[23:19:29] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at cpw.mods.modlauncher.Launcher.main(Launcher.java:66)
[23:19:29] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63)
[23:19:29] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60)
[23:19:29] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at net.minecraftforge.server.ServerMain.main(ServerMain.java:57)
[23:19:29] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: Caused by: java.lang.reflect.InvocationTargetException
[23:19:29] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[23:19:29] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[23:19:29] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[23:19:29] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at java.lang.reflect.Method.invoke(Unknown Source)
[23:19:29] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at net.minecraftforge.fml.loading.FMLServerLaunchProvider.lambda$launchService$0(FMLServerLaunchProvider.java:51)
[23:19:29] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
[23:19:29] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: ... 7 more
[23:19:29] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: Caused by: java.lang.ExceptionInInitializerError
[23:19:29] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at net.minecraft.crash.CrashReport.func_71504_g(CrashReport.java:101)
[23:19:29] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at net.minecraft.crash.CrashReport.<init>(CrashReport.java:54)
[23:19:29] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at net.minecraft.crash.CrashReport.func_230188_h_(CrashReport.java:425)
[23:19:29] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at net.minecraft.server.Main.main(Main.java:91)
[23:19:29] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: ... 13 more
[23:19:29] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: Caused by: java.lang.RuntimeException: Attempted to load class net/minecraft/client/gui/screen/Screen for invalid dist DEDICATED_SERVER
[23:19:29] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at net.minecraftforge.fml.loading.RuntimeDistCleaner.processClassWithFlags(RuntimeDistCleaner.java:71)
[23:19:29] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:85)
[23:19:29] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:119)
[23:19:29] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass(TransformingClassLoader.java:265)
[23:19:29] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:136)
[23:19:29] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:98)
[23:19:29] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at java.lang.ClassLoader.loadClass(Unknown Source)
[23:19:29] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: at net.optifine.reflect.Reflector.<clinit>(Reflector.java:184)
[23:19:29] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: ... 17 more