eisental/LibraryTemplate — Issue #1: dependency error, load error
Author: mstram
Created: 2011-12-21 17:05:11+00:00
State: open

1) The maven build fails, evidently because of the old version or typo ? in the pom.xlm file :

org.bukkit
bukkit
0.0.1-SNAPSHOT

2) After changing the above to
1.0.0-R1-SNAPSHOT

it builds, but then gets a load error (using craftbukkit-1.0.1-R1.jar) :

java.lang.ClassCastException: class org.tal.librarytemplate.Mike1
at java.lang.Class.asSubclass(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
ava:171)
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
java:215)
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
.java:136)
at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:151)
at org.bukkit.craftbukkit.CraftServer.(CraftServer.java:127)
at net.minecraft.server.ServerConfigurationManager.(ServerConfigur
ationManager.java:52)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)

Mike