java.lang.NoClassDefFoundError: com/google/common/base/MoreObjects


Samebug tips8

jsp-api and servlet-api jars must NOT be deployed by your web app. They should be marked as provided but not deployed by your app.


7 months ago
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


4 months ago
Expert tip

Solutions on the web3

Solution icon of github
via GitHub by marcopaggioro
, 4 months ago
com/google/common/base/MoreObjects

Solution icon of github
com/google/common/base/MoreObjects

Solution icon of github
via GitHub by SeussCZ
, 4 months ago
com/google/common/base/MoreObjects

Stack trace

java.lang.NoClassDefFoundError: com/google/common/base/MoreObjects
	at fr.xephi.authme.data.auth.PlayerAuth$Builder.build(PlayerAuth.java:245)[?:?]
	at fr.xephi.authme.process.register.executors.PlayerAuthBuilderHelper.createPlayerAuth(PlayerAuthBuilderHelper.java:32)[?:?]
	at fr.xephi.authme.process.register.executors.PasswordRegisterExecutor.createPlayerAuthObject(PasswordRegisterExecutor.java:14)[?:?]
	at fr.xephi.authme.process.register.executors.PasswordRegisterExecutor.createPlayerAuthObject(PasswordRegisterExecutor.java:10)[?:?]
	at fr.xephi.authme.process.register.executors.AbstractPasswordRegisterExecutor.buildPlayerAuth(AbstractPasswordRegisterExecutor.java:66)[?:?]
	at fr.xephi.authme.process.register.executors.AbstractPasswordRegisterExecutor.buildPlayerAuth(AbstractPasswordRegisterExecutor.java:23)[?:?]
	at fr.xephi.authme.process.register.AsyncRegister.executeRegistration(AsyncRegister.java:84)[?:?]
	at fr.xephi.authme.process.register.AsyncRegister.register(AsyncRegister.java:54)[?:?]
	at fr.xephi.authme.process.Management.lambda$performRegister$3(Management.java:65)[?:?]
	at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftTask.run(CraftTask.java:71)[jar_spigot.jar:git-Spigot-3fb9445-6e3cec8]
	at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52)[jar_spigot.jar:git-Spigot-3fb9445-6e3cec8]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_131]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_131]
	at java.lang.Thread.run(Thread.java:748)[?:1.8.0_131]
Caused by: java.lang.ClassNotFoundException: com.google.common.base.MoreObjects
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)[?:1.8.0_131]
	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101)[jar_spigot.jar:git-Spigot-3fb9445-6e3cec8]
	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86)[jar_spigot.jar:git-Spigot-3fb9445-6e3cec8]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)[?:1.8.0_131]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)[?:1.8.0_131]
	... 14 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
1572 more bugmates