2016-12-03 84 views
0

當我運行我的Minecraft鍛造server.bat的Minecraft打造服務器的.bat是happends錯誤

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 cpw.mods.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:43) 
     at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:12) 
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 

當我開始我server.bat 出現這種情況 我的start.bat內

"C:\Program Files (x86)\Java\jre1.8.0_111\bin\java.exe" -Xmx1024M -Xms512M -jar forge_server.jar 
PAUSE 
+0

你有你的JVM有足夠的空間?您需要將org.apache.logging.log4j jar添加到您的運行路徑。 – StackFlowed

+0

怎麼樣?我可以那樣做嗎? –

+0

您是否嘗試過在Forge Forum上發佈/搜索此問題?我想他們也許能給出更具體的幫助,比SO:鏈接:http://www.minecraftforge.net/forum/ – n247s

回答

0

java的-server的java -server -Xms512m -Xmx1024M -XX:PermSize = 256M的罐子forge_server.jar這是你應該有什麼