Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    The server rejects all jars that already belong to the server runtime (such as tomcat-**.jar, servlet**.jar). Consider substituting the CORS filter you're using for this one: https://goo.gl/ctQ7Fs

  2. ,

    This is thrown when the Java Virtual Machine (JVM) tries to load a particular class and the specified class cannot be found in the classpath. If you are using a Java version less than 8, upgrade because java.util.Base64 only comes with > Java 8.

Solutions on the web

via GitHub by DoctorWh00
, 1 year ago
Could not invoke constructor of class 'class fr.xephi.authme.command.CommandHandler'
fr.xephi.authme.libs.jalu.injector.exceptions.InjectorReflectionException: Could not invoke constructor of class 'class fr.xephi.authme.command.CommandHandler' at fr.xephi.authme.libs.jalu.injector.utils.ReflectionUtils.newInstance(ReflectionUtils.java:94) at fr.xephi.authme.libs.jalu.injector.handlers.instantiation.ConstructorInjection.instantiateWith(ConstructorInjection.java:39) at fr.xephi.authme.libs.jalu.injector.InjectorImpl.instantiate(InjectorImpl.java:184) at fr.xephi.authme.libs.jalu.injector.InjectorImpl.get(InjectorImpl.java:162) at fr.xephi.authme.libs.jalu.injector.InjectorImpl.getSingleton(InjectorImpl.java:51) at fr.xephi.authme.AuthMe.instantiateServices(AuthMe.java:251) at fr.xephi.authme.AuthMe.initialize(AuthMe.java:219) at fr.xephi.authme.AuthMe.onEnable(AuthMe.java:139) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:335) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) at org.bukkit.craftbukkit.v1_8_R1.CraftServer.loadPlugin(CraftServer.java:356) at org.bukkit.craftbukkit.v1_8_R1.CraftServer.enablePlugins(CraftServer.java:316) at net.minecraft.server.v1_8_R1.MinecraftServer.q(MinecraftServer.java:402) at net.minecraft.server.v1_8_R1.MinecraftServer.k(MinecraftServer.java:370) at net.minecraft.server.v1_8_R1.MinecraftServer.a(MinecraftServer.java:325) at net.minecraft.server.v1_8_R1.DedicatedServer.init(DedicatedServer.java:211) at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:505) at java.lang.Thread.run(Thread.java:745)Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at fr.xephi.authme.libs.jalu.injector.utils.ReflectionUtils.newInstance(ReflectionUtils.java:91) ... 18 moreCaused by: java.lang.NoClassDefFoundError: Lcom/google/gson/Gson; at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Class.java:2583) at java.lang.Class.getDeclaredFields(Class.java:1916) at fr.xephi.authme.libs.jalu.injector.utils.ReflectionUtils.safeGetDeclaredFields(ReflectionUtils.java:177) at fr.xephi.authme.libs.jalu.injector.handlers.instantiation.ConstructorInjectionProvider.validateHasNoOtherInjectAnnotations(ConstructorInjectionProvider.java:45) at fr.xephi.authme.libs.jalu.injector.handlers.instantiation.ConstructorInjectionProvider.safeGet(ConstructorInjectionProvider.java:21) at fr.xephi.authme.libs.jalu.injector.handlers.instantiation.ConstructorInjectionProvider.safeGet(ConstructorInjectionProvider.java:13) at fr.xephi.authme.libs.jalu.injector.handlers.instantiation.DirectInstantiationProvider.get(DirectInstantiationProvider.java:16) at fr.xephi.authme.libs.jalu.injector.InjectorImpl.getInstantiation(InjectorImpl.java:190) at fr.xephi.authme.libs.jalu.injector.InjectorImpl.instantiate(InjectorImpl.java:180) at fr.xephi.authme.libs.jalu.injector.InjectorImpl.get(InjectorImpl.java:162) at fr.xephi.authme.libs.jalu.injector.InjectorImpl.resolveDependencies(InjectorImpl.java:225) at fr.xephi.authme.libs.jalu.injector.InjectorImpl.instantiate(InjectorImpl.java:183) at fr.xephi.authme.libs.jalu.injector.InjectorImpl.get(InjectorImpl.java:162) at fr.xephi.authme.libs.jalu.injector.InjectorImpl.resolveDependencies(InjectorImpl.java:225) at fr.xephi.authme.libs.jalu.injector.InjectorImpl.instantiate(InjectorImpl.java:183) at fr.xephi.authme.libs.jalu.injector.InjectorImpl.get(InjectorImpl.java:162) at fr.xephi.authme.libs.jalu.injector.InjectorImpl.resolveDependencies(InjectorImpl.java:225) at fr.xephi.authme.libs.jalu.injector.InjectorImpl.instantiate(InjectorImpl.java:183) at fr.xephi.authme.libs.jalu.injector.InjectorImpl.get(InjectorImpl.java:162) at fr.xephi.authme.libs.jalu.injector.InjectorImpl.resolveDependencies(InjectorImpl.java:225) at fr.xephi.authme.libs.jalu.injector.InjectorImpl.instantiate(InjectorImpl.java:183) at fr.xephi.authme.libs.jalu.injector.InjectorImpl.get(InjectorImpl.java:162) at fr.xephi.authme.libs.jalu.injector.InjectorImpl.resolveDependencies(InjectorImpl.java:225) at fr.xephi.authme.libs.jalu.injector.InjectorImpl.instantiate(InjectorImpl.java:183) at fr.xephi.authme.libs.jalu.injector.InjectorImpl.get(InjectorImpl.java:162) at fr.xephi.authme.libs.jalu.injector.InjectorImpl.resolveDependencies(InjectorImpl.java:225) at fr.xephi.authme.libs.jalu.injector.InjectorImpl.instantiate(InjectorImpl.java:183) at fr.xephi.authme.libs.jalu.injector.InjectorImpl.newInstance(InjectorImpl.java:78) at fr.xephi.authme.command.CommandHandler.initializeCommands(CommandHandler.java:103) at fr.xephi.authme.command.CommandHandler.<init>(CommandHandler.java:49) ... 23 moreCaused by: java.lang.ClassNotFoundException: com.google.gson.Gson at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 54 more