java.lang.NoClassDefFoundError: Failed to get fields for class [org.xwiki.git.internal.GitScriptService] because the class [org/eclipse/jgit/lib/Repository] couldn't be found in the ClassLoader.

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

Solutions on the web

via XWiki.org JIRA by Vincent Massol, 1 year ago
Failed to get fields for class [org.xwiki.git.internal.GitScriptService] because the class [org/eclipse/jgit/lib/Repository] couldn't be found in the ClassLoader.
java.lang.NoClassDefFoundError: Failed to get fields for class [org.xwiki.git.internal.GitScriptService] because the class [org/eclipse/jgit/lib/Repository] couldn't be found in the ClassLoader.
at org.xwiki.component.util.ReflectionUtils.getAllFields(ReflectionUtils.java:70)
at org.xwiki.component.annotation.ComponentDescriptorFactory.createComponentDescriptor(ComponentDescriptorFactory.java:132)
at org.xwiki.component.annotation.ComponentDescriptorFactory.createComponentDescriptors(ComponentDescriptorFactory.java:105)
at org.xwiki.component.annotation.ComponentAnnotationLoader.register(ComponentAnnotationLoader.java:164)
at org.xwiki.component.annotation.ComponentAnnotationLoader.initialize(ComponentAnnotationLoader.java:139)
at org.xwiki.extension.jar.internal.handler.JarExtensionHandler.loadComponents(JarExtensionHandler.java:145)
at org.xwiki.extension.jar.internal.handler.JarExtensionHandler.install(JarExtensionHandler.java:102)
at org.xwiki.extension.handler.internal.DefaultExtensionHandlerManager.install(DefaultExtensionHandlerManager.java:80)
at org.xwiki.extension.job.internal.InstallJob.installExtension(InstallJob.java:208)
at org.xwiki.extension.job.internal.InstallJob.applyAction(InstallJob.java:263)
at org.xwiki.extension.job.internal.InstallJob.start(InstallJob.java:161)
at org.xwiki.job.AbstractJob.start(AbstractJob.java:134)
at org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:156)
at java.lang.Thread.run(Thread.java:680)

Users with the same issue

You are the first who have seen this exception.

Write tip

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