com.google.common.util.concurrent.ExecutionError: 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 web49

Solution icon of github
java.lang.NoClassDefFoundError: com/google/common/base/MoreObjects

Solution icon of github
via GitHub by friishon
, 2 months ago
java.lang.NoClassDefFoundError: com/google/common/base/MoreObjects

Solution icon of github
com.google.common.util.concurrent.ExecutionError: java.lang.NoClassDefFoundError: com/google/gerrit/extensions/events/GitReferenceUpdatedListener$Update

Solution icon of stackoverflow
via Stack Overflow by LeshaRB
, 9 months ago
java.lang.NoClassDefFoundError: Failed to link com/fasterxml/jackson/jaxrs/base/ProviderBase (Module "by.lib:main" from local module loader @1c2c22f3 (finder: local module finder @18e8568 (roots: D:\Work\Server_10.1.0\modules,D:\Work\Server_10.1.0\modules\system\layers\base))): javax/ws/rs/ext/MessageBodyReader

Solution icon of googlegroups
via Google Groups by Unknown author, 1 month ago
java.lang.NoClassDefFoundError: com/carrotsearch/hppc/ObjectContainer

Solution icon of github
via GitHub by mikec212
, 11 months ago
java.lang.NoClassDefFoundError: com/facebook/presto/spi/connector/ConnectorFactoryContext

Solution icon of github
java.lang.NoSuchMethodError: com.google.common.collect.Range.closed(Ljava/lang/Comparable;Ljava/lang/Comparable;)Lcom/google/common/collect/Range;

Solution icon of stackoverflow
java.lang.NoClassDefFoundError: com/github/jaiimageio/impl/plugins/bmp/BMPImageReader

Solution icon of stackoverflow
via Stack Overflow by Lucas Oliveira
, 5 months ago
java.lang.NoClassDefFoundError: junit/framework/TestCase

Solution icon of github
java.lang.NoClassDefFoundError: git4idea/history/wholeTree/BasePopupAction

Stack trace

com.google.common.util.concurrent.ExecutionError: java.lang.NoClassDefFoundError: com/google/common/base/MoreObjects
	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2199)[spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
	at com.google.common.cache.LocalCache.get(LocalCache.java:3934)[spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
	at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938)[spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
	at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821)[spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
	at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4827)[spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
	at fr.xephi.authme.datasource.CacheDataSource.getAuth(CacheDataSource.java:90)[?:?]
	at fr.xephi.authme.process.login.AsynchronousLogin.getPlayerAuth(AsynchronousLogin.java:115)[?:?]
	at fr.xephi.authme.process.login.AsynchronousLogin.login(AsynchronousLogin.java:82)[?:?]
	at fr.xephi.authme.process.Management.lambda$performLogin$0(Management.java:53)[?:?]
	at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftTask.run(CraftTask.java:71)[spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
	at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52)[spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)[?:1.8.0_121]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[?:1.8.0_121]
	at java.lang.Thread.run(Unknown Source)[?:1.8.0_121]
Caused by: java.lang.NoClassDefFoundError: com/google/common/base/MoreObjects
	at fr.xephi.authme.data.auth.PlayerAuth$Builder.build(PlayerAuth.java:245)[?:?]
	at fr.xephi.authme.datasource.MySQL.buildAuthFromResultSet(MySQL.java:983)[?:?]
	at fr.xephi.authme.datasource.MySQL.getAuth(MySQL.java:307)[?:?]
	at fr.xephi.authme.datasource.CacheDataSource$1.load(CacheDataSource.java:53)[?:?]
	at fr.xephi.authme.datasource.CacheDataSource$1.load(CacheDataSource.java:50)[?:?]
	at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524)[spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
	at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317)[spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
	at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280)[spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195)[spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
	... 13 more
Caused by: java.lang.ClassNotFoundException: com.google.common.base.MoreObjects
	at java.net.URLClassLoader.findClass(Unknown Source)[?:1.8.0_121]
	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101)[spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86)[spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
	at java.lang.ClassLoader.loadClass(Unknown Source)[?:1.8.0_121]
	at java.lang.ClassLoader.loadClass(Unknown Source)[?:1.8.0_121]
	at fr.xephi.authme.data.auth.PlayerAuth$Builder.build(PlayerAuth.java:245)[?:?]

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, 1 year ago
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
1572 more bugmates