Cant run Server (Exception in thread "main")

Hejo, i tried to install a sponge server onto my windows 7 desktop computer. I want to use it for programming plugins. But i recive a error and the .jar doesnt download the server-files. Its SpongeVanilla from the download webside.

D:\Server>java -Xms1G -Xmx2G -jar minecraft_server.1.8.9.jar
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/logging/lo
g4j/Level
        at net.minecraft.launchwrapper.Launch.launch(Launch.java:94)
        at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
        at org.spongepowered.server.launch.VanillaServerMain.main(VanillaServerM
ain.java:118)
        at org.spongepowered.server.launch.VersionCheckingMain.main(VersionCheck
ingMain.java:38)
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)
        ... 4 more

org.spongepowered.server.launch.VanillaServerMain
SpongeVanilla is loaded but
NoClassDefFoundError: org/apache/logging/log4j/Level
Log4J is not.
A library is missing, maybe the server was not correctly setup.

If you’re using SpongeVanilla then you have to run the spongevanilla .jar file

1 Like

Try delete the libraries folder and launch SV if this doesn’t work.

thank you simon816