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

    A few things cause this exception:
    1) Check if you have all jars and if they're in the correct path.
    2) Your classpath might be broken, you can define it in the command line with java -cp yourClassPath or at your IDE if you're using one.

  2. ,
    Expert tip

    If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add to your dependencies. To add it, the groupId is com.fasterxml and artifactId is Classmate.

Solutions on the web

via Google Groups by Jānis Šteinbergs, 1 year ago
com/google/gerrit/extensions/config/CapabilityDefinition What version of Gerrit are you running it in? This looks like an API incompatibility.
java.lang.ClassNotFoundException: com.google.gerrit.extensions.config.CapabilityDefinition	at java.net.URLClassLoader.findClass(Unknown Source)	at java.lang.ClassLoader.loadClass(Unknown Source)	at java.lang.ClassLoader.loadClass(Unknown Source)	at com.googlesource.gerrit.plugins.deleteproject.Module.configure(Module.java:39)	at com.google.inject.AbstractModule.configure(AbstractModule.java:59)	at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:223)	at com.google.inject.spi.Elements.getElements(Elements.java:101)	at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:133)	at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:103)	at com.google.inject.internal.InjectorImpl.createChildInjector(InjectorImpl.java:217)	at com.google.inject.internal.InjectorImpl.createChildInjector(InjectorImpl.java:224)	at com.google.gerrit.server.plugins.Plugin.startPlugin(Plugin.java:204)	at com.google.gerrit.server.plugins.Plugin.start(Plugin.java:187)	at com.google.gerrit.server.plugins.PluginLoader.runPlugin(PluginLoader.java:367)	at com.google.gerrit.server.plugins.PluginLoader.rescan(PluginLoader.java:343)	at com.google.gerrit.server.plugins.PluginLoader.start(PluginLoader.java:256)	at com.google.gerrit.lifecycle.LifecycleManager.start(LifecycleManager.java:74)	at com.google.gerrit.pgm.Daemon.run(Daemon.java:190)	at com.google.gerrit.pgm.util.AbstractProgram.main(AbstractProgram.java:67)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at com.google.gerrit.launcher.GerritLauncher.invokeProgram(GerritLauncher.java:168)	at com.google.gerrit.launcher.GerritLauncher.mainImpl(GerritLauncher.java:92)	at com.google.gerrit.launcher.GerritLauncher.main(GerritLauncher.java:50)	at Main.main(Main.java:25)