java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableList

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

,
via oracle.com by Unknown author

app tries to load in a class through its string name using forName method in class Class, findSystemClass method in class ClassLoader, loadClass method in class ClassLoader but no definition for the class with the specified name could be found

,

Unless you are involved in dynamic class loading and using the Java Reflection API, chances are that the ClassNotFoundException error you are getting is not from your application code but from a referencing API

Solutions on the web

via Sonatype JIRA by Brandon Richins, 1 year ago
com/google/common/collect/ImmutableList
via GitHub by edmilsonrobson
, 11 months ago
com/google/common/collect/ImmutableList
via w3facility.org by Unknown author, 2 years ago
com/google/common/collect/ImmutableList
via Stack Overflow by VizZy
, 5 months ago
java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableList
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at com.google.inject.internal.Errors.(Errors.java:648)
at com.google.inject.internal.InternalInjectorCreator.(InternalInjectorCreator.java:62)
at com.google.inject.Guice.createInjector(Guice.java:96)
at com.google.inject.Guice.createInjector(Guice.java:73)
at org.codehaus.plexus.DefaultPlexusContainer.addPlexusInjector(DefaultPlexusContainer.java:470)
at org.codehaus.plexus.DefaultPlexusContainer.(DefaultPlexusContainer.java:196)
at org.codehaus.plexus.DefaultPlexusContainer.(DefaultPlexusContainer.java:160)
at org.codehaus.plexus.tools.cli.AbstractCli.execute(AbstractCli.java:159)
at org.sonatype.nexus.tools.repository.RepositoryConvertorCli.main(RepositoryConvertorCli.java:53)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Once, 4 months ago
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.