Jump to content

Recommended Posts

Posted (edited)

Everytime I open my run.bat file it displays this error,

 

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

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:70)

at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34)

Caused by: java.lang.NoClassDefFoundError: org/apache/logging/log4j/Level

at net.minecraft.launchwrapper.Launch.launch(Launch.java:94)

at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

... 6 more

Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.Level

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

... 8 more".

 

I saw somewhere that you need java 8 so I got java 8, thats not the problem. I also ran forgeserver.jar is command prompt and I got this error

 

"C:\Users\...> java -version

java version "1.8.0_301"

Java(TM) SE Runtime Environment (build 1.8.0_301-b09)

Java HotSpot(TM) 64-Bit Server VM (build 25.301-b09, mixed mode)

 

C:\Users\...>java -Xmx4096M -Xms4096M -jar forgeserver.jar nogui

Error: Unable to access jarfile forgeserver.jar".

 

Another fix I've tried is running my minecraft_server.jar instead, It works but does not load all the mods correctly.

Please help I've been working on this for several days, it would mean a lot.

Edited by dunkindime

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.

Guest
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.

Announcements



×
×
  • Create New...

Important Information

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