Closed Asphodan closed 12 years ago
It's a library it's supposed to automatically download :/ In server dir/lib is there a file called h2.jar?
There is.
So it's there, but it isn't loaded o_O Perhaps a change to library handling in bukkit...i'll take a look at it, but probably will remove it :P
Fixed ,you should delete h2.jar before starting the server!
2012-03-02 15:03:08 [SEVERE] Error occurred while enabling BetterCoins v5.01 (Is it up to date?)
java.lang.NoClassDefFoundError: org/h2/jdbcx/JdbcConnectionPool
at com.iConomy.net.Database.
Shall we write our own classloader?
Hmm, maven is supposed to shade it in now, added it to pom.xml... @Wulfspider any idea? You're the maven expert ;P
Why not just make it go away? There's so much thought and effort being put into something I don't even need or want. I don't get it.
You don't use it? /facepalm
Why is it even there then?!
Because this is iConomy 5, only just now being ported.
"I don't know what H2 is. I don't use it, and it can just go away if its going to cause drama. :x"
It's in the first post. :<
My bad, I'll get that sorted then XD
After looking into it (and removing it) it seems that it's the thing that's required for all the sql shizzle to load.
Shading it into the jar is probably our best shout in this situation.
I'll continue to look into alternatives (I get it to startup fine-ish without it but only if I make it flatfile)
Can find all the Lib jars at http://bettercraft.net/downloads/lib
The original h2.jar download has broken.
Well that works ^^
Why didn't you just say that in the first place :P
No permission to access directory? What's the url to the h2.jar?
Just updated the directory, will allow for external connections again.
Closed; pasted h2.jar into Coins. Seems fine now.
2012-02-29 22:40:58 [SEVERE] Error occurred while enabling BetterCoins v5.01 (Is it up to date?) java.lang.NoClassDefFoundError: org/h2/jdbcx/JdbcConnectionPool at com.iConomy.net.Database.(Database.java:42)
at com.iConomy.iConomy.onEnable(iConomy.java:124)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:343)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:366)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:317)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:300)
at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:378)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:365)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:196)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:429)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
Caused by: java.lang.ClassNotFoundException: org.h2.jdbcx.JdbcConnectionPool
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 12 more
I don't know what H2 is. I don't use it, and it can just go away if its going to cause drama. :x