Betterverse / BetterCoins

Still works.
2 stars 1 forks source link

Startup. #5

Closed Asphodan closed 12 years ago

Asphodan commented 12 years ago

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

ZNickq commented 12 years ago

It's a library it's supposed to automatically download :/ In server dir/lib is there a file called h2.jar?

Asphodan commented 12 years ago

There is.

ZNickq commented 12 years ago

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

ZNickq commented 12 years ago

Fixed ,you should delete h2.jar before starting the server!

Asphodan commented 12 years ago

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.(Database.java:42) at com.iConomy.iConomy.onEnable(iConomy.java:121) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:363) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:369) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:356) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:420) at net.minecraft.server.ThreadServerApplication.run(SourceFile:490) 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

codename-B commented 12 years ago

Shall we write our own classloader?

ZNickq commented 12 years ago

Hmm, maven is supposed to shade it in now, added it to pom.xml... @Wulfspider any idea? You're the maven expert ;P

Asphodan commented 12 years ago

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.

codename-B commented 12 years ago

You don't use it? /facepalm

Why is it even there then?!

Asphodan commented 12 years ago

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. :<

codename-B commented 12 years ago

My bad, I'll get that sorted then XD

codename-B commented 12 years ago

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)

Asphodan commented 12 years ago

Can find all the Lib jars at http://bettercraft.net/downloads/lib

The original h2.jar download has broken.

codename-B commented 12 years ago

Well that works ^^

Why didn't you just say that in the first place :P

codename-B commented 12 years ago

No permission to access directory? What's the url to the h2.jar?

Asphodan commented 12 years ago

Just updated the directory, will allow for external connections again.

Asphodan commented 12 years ago

Closed; pasted h2.jar into Coins. Seems fine now.