Jump to content

Question

Posted

Hello. I recently started a Tekkit server. I thought it would be fun to add multiple plugins. Factions i thought is a fun and cool plugin that i wanted to install for the server. I dowloaded the Factions 1.6.7 release and then put it into the 'plugins' folder for the tekkit server. When i start the server, I get a long error report that looks like this:

12:17:03 [iNFO] [Factions v1.6.7] === ENABLE START ===

12:17:03 [sEVERE] Error occurred while enabling Factions v1.6.7 (Is it up to dat

e?): com/google/gson/reflect/TypeToken

java.lang.NoClassDefFoundError: com/google/gson/reflect/TypeToken

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(Unknown Source)

at java.security.SecureClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.access$100(Unknown Source)

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.JavaPluginLoader.getClassByName(JavaPluginLoad

er.java:224)

at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.

java:37)

at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.

java:29)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at com.massivecraft.factions.P.getGsonBuilder(P.java:124)

at com.massivecraft.factions.zcore.MPlugin.preEnable(MPlugin.java:68)

at com.massivecraft.factions.P.onEnable(P.java:79)

at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230)

at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader

.java:1057)

at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage

r.java:380)

at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:200)

at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:183

)

at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:360)

at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:347)

at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:178)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:411)

at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)

Caused by: java.lang.ClassNotFoundException: com.google.gson.reflect.TypeToken

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)

... 28 more

Whenever I enter the server and try to make a factions command, a message saying 'an internal error occured while trying to execute command'. I've tried reinstalling differant versions of the Factions plugin, but nothing seems to work. I am very confused. I was thinking it has to do with the classpath. Please help. Thank you.

2 answers to this question

Recommended Posts

  • 0
Posted

Read the rest of the post man and you will see

"A LAST, IMPORTANT STEP (Thanks to vidplace7 for this fix :) )

Download the other file linked below and navigate to your server folder. There should be a folder called lib, and inside that gson.jar. Delete the one that's currently in there and drag the new one you downloaded in. IF YOU DO NOT HAVE THIS FOLDER: Start your server once without doing this and it should create the folder (IT WILL THROW AN ERROR!). Shut your server down again and then do the above.

And then you should be good "

Old version of gson.jar: http://www.mediafire.com/?o133ub9x3mggdk5

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...