java.lang.NoClassDefFoundError: com/google/gerrit/extensions/config/CapabilityDefinition

Google Groups | Jānis Šteinbergs | 1 month ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Error while installing CookBook plugin

    Google Groups | 7 months ago | Sharath Gupta
    java.lang.NoClassDefFoundError: com/google/gerrit/extensions/api/projects/ProjectConfigEntryType
  2. 0

    Delete-project plugin build failed

    Google Groups | 1 month ago | Jānis Šteinbergs
    java.lang.NoClassDefFoundError: com/google/gerrit/extensions/config/CapabilityDefinition What version of Gerrit are you running it in? This looks like an API incompatibility.
  3. 0

    Error during delete-project plugin compilation

    Google Groups | 4 years ago | Lumír Jasiok
    com.google.gerrit.server.plugins.PluginInstallException: com/google/gerrit/extensions/config/CapabilityDefinition
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    git lfs error

    Google Groups | 2 months ago | Ashwini T R
    java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file org/eclipse/jgit/lfs/server/s3/S3Repository
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    com.google.gerrit.extensions.config.CapabilityDefinition

    at java.net.URLClassLoader.findClass()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader.findClass(Unknown Source)
    2. java.lang.ClassLoader.loadClass(Unknown Source)
    3. java.lang.ClassLoader.loadClass(Unknown Source)
    3 frames
  3. com.googlesource.gerrit
    Module.configure
    1. com.googlesource.gerrit.plugins.deleteproject.Module.configure(Module.java:39)
    1 frame
  4. Google Guice - Core Library
    InjectorImpl.createChildInjector
    1. com.google.inject.AbstractModule.configure(AbstractModule.java:59)
    2. com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:223)
    3. com.google.inject.spi.Elements.getElements(Elements.java:101)
    4. com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:133)
    5. com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:103)
    6. com.google.inject.internal.InjectorImpl.createChildInjector(InjectorImpl.java:217)
    7. com.google.inject.internal.InjectorImpl.createChildInjector(InjectorImpl.java:224)
    7 frames
  5. com.google.gerrit
    PluginLoader.start
    1. com.google.gerrit.server.plugins.Plugin.startPlugin(Plugin.java:204)
    2. com.google.gerrit.server.plugins.Plugin.start(Plugin.java:187)
    3. com.google.gerrit.server.plugins.PluginLoader.runPlugin(PluginLoader.java:367)
    4. com.google.gerrit.server.plugins.PluginLoader.rescan(PluginLoader.java:343)
    5. com.google.gerrit.server.plugins.PluginLoader.start(PluginLoader.java:256)
    5 frames
  6. mini-git-server - Server
    LifecycleManager.start
    1. com.google.gerrit.lifecycle.LifecycleManager.start(LifecycleManager.java:74)
    1 frame
  7. com.google.gerrit
    AbstractProgram.main
    1. com.google.gerrit.pgm.Daemon.run(Daemon.java:190)
    2. com.google.gerrit.pgm.util.AbstractProgram.main(AbstractProgram.java:67)
    2 frames
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  9. com.google.gerrit
    GerritLauncher.main
    1. com.google.gerrit.launcher.GerritLauncher.invokeProgram(GerritLauncher.java:168)
    2. com.google.gerrit.launcher.GerritLauncher.mainImpl(GerritLauncher.java:92)
    3. com.google.gerrit.launcher.GerritLauncher.main(GerritLauncher.java:50)
    3 frames
  10. Unknown
    Main.main
    1. Main.main(Main.java:25)
    1 frame