Hey, ich habe folgendes problem. Ich möchte aus meinen Source Code bei Eclibse eine jar datei machen. Also ein Minecraft Plugin. Das klappt auch aber dann kommt folgender Error in der Server console. Ich weiß echt nicht was da falscht ist. Ich bitte um hilfe.
Error in der Server Konsole:
ZitatAlles anzeigen[11:24:36] [Server thread/ERROR]: Could not load 'plugins\CODWarfare.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: Cannot find main class `com.CentrumGuy.CodWarfare.Main'
at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:42) ~[craftbukkit.jar:git-Bukkit-c4fd085]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129) ~[craftbukkit.jar:git-Bukkit-c4fd085]
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:328) ~[craftbukkit.jar:git-Bukkit-c4fd085]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [craftbukkit.jar:git-Bukkit-c4fd085]
at org.bukkit.craftbukkit.v1_8_R1.CraftServer.loadPlugins(CraftServer.java:287) [craftbukkit.jar:git-Bukkit-c4fd085]
at org.bukkit.craftbukkit.v1_8_R1.CraftServer.<init>(CraftServer.java:249) [craftbukkit.jar:git-Bukkit-c4fd085]
at net.minecraft.server.v1_8_R1.PlayerList.<init>(PlayerList.java:69) [craftbukkit.jar:git-Bukkit-c4fd085]
at net.minecraft.server.v1_8_R1.DedicatedPlayerList.<init>(SourceFile:14) [craftbukkit.jar:git-Bukkit-c4fd085]
at net.minecraft.server.v1_8_R1.DedicatedServer.init(DedicatedServer.java:133) [craftbukkit.jar:git-Bukkit-c4fd085]
at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:473) [craftbukkit.jar:git-Bukkit-c4fd085]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_45]
Caused by: java.lang.ClassNotFoundException: com.CentrumGuy.CodWarfare.Main
at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_45]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77) ~[craftbukkit.jar:git-Bukkit-c4fd085]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) ~[craftbukkit.jar:git-Bukkit-c4fd085]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_45]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_45]
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_45]
at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_45]
at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:40) ~[craftbukkit.jar:git-Bukkit-c4fd085]
... 10 more
Die Plugin.yml datei:
ZitatAlles anzeigenname: COD
author: CentrumGuy
main: com.CentrumGuy.CodWarfare.Main
version: 2.7
commands:
cod:
description: The basic command for all Call of Duty commands
usage: /<command>
callofduty:
description: The basic command for all Call of Duty commands
usage: /<command>
codwar:
description: The basic command for all Call of Duty commands
usage: /<command>
codwarfare:
description: The basic command for all Call of Duty commands
usage: /<command>
warfare:
description: The basic command for all Call of Duty commands
usage: /<command>
callofdutywarfare:
description: The basic command for all Call of Duty commands
usage: /<command>
callofdutywar:
description: The basic command for all Call of Duty commands
usage: /<command>