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. ,

    A required library class, Doclet, is not loaded. It's usually found in tools.jar in the JDK so make sure to add it (tools.jar) to your project's build path.

  2. ,
    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.

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.NoClassDefFoundError: com/google/gerrit/extensions/config/CapabilityDefinitionWhat version of Gerrit are you running it in? This looks like an APIincompatibility. 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)Caused by: 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) ... 24 more