Have you identified what changed that caused failure? Some of the things you might try include:
- Backup your installation in case your experiments cause damage Clear a few plugin directories (so that they can be recreated) - Move the git client plugin directory (plugins/git-client) to a different location - Move the git plugin directory (plugins/git) to a different location - Start Jenkins so that it will reconstruct those directories If that doesn't help, then you might try: Rollback to previous plugin versions - Move the git client plugin directory (plugins/git-client) to a different location - Rename plugins/git-client.bak to plugins/git-client.hpi (or jpi, whatever is in your directory) - Move the git plugin directory (plugins/git) to a different location - Rename plugins/git.bak to plugins/git.hpi (or jpi, whatever is in your directory) - Start Jenkins so that it will reconstruct those directories I'm sure there are other techniques, but those should be relatively harmless and may lead you to a solution. Mark Waite On Wed, Jul 8, 2015 at 3:35 PM Zk W <[email protected]> wrote: > Hi All > > We tried starting up Jenkins but we get the following error: > > > org.jvnet.hudson.reactor.ReactorException: java.lang.NoClassDefFoundError: > hudson/plugins/git/GitLockFailedException > at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:246) > at jenkins.InitReactorRunner.run(InitReactorRunner.java:43) > at jenkins.model.Jenkins.executeReactor(Jenkins.java:904) > at jenkins.model.Jenkins.<init>(Jenkins.java:804) > at hudson.model.Hudson.<init>(Hudson.java:81) > at hudson.model.Hudson.<init>(Hudson.java:77) > at hudson.WebAppMain$2.run(WebAppMain.java:214) > Caused by: java.lang.NoClassDefFoundError: > hudson/plugins/git/GitLockFailedException > at java.lang.Class.getDeclaredMethods0(Native Method) > at java.lang.Class.privateGetDeclaredMethods(Class.java:2427) > at java.lang.Class.getDeclaredMethods(Class.java:1791) > at org.jvnet.hudson.annotation_indexer.Index$2$1.fetch(Index.java:101) > at org.jvnet.hudson.annotation_indexer.Index$2$1.hasNext(Index.java:71) > at > org.jvnet.hudson.annotation_indexer.FilterIterator.fetch(FilterIterator.java:23) > at > org.jvnet.hudson.annotation_indexer.FilterIterator.hasNext(FilterIterator.java:42) > at > hudson.init.InitializerFinder.discoverTasks(InitializerFinder.java:70) > at hudson.PluginManager$2$1$3.run(PluginManager.java:367) > at > org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) > at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) > at jenkins.model.Jenkins$7.runTask(Jenkins.java:893) > at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) > at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:662) > Caused by: java.lang.ClassNotFoundException: > hudson.plugins.git.GitLockFailedException > 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 java.lang.ClassLoader.loadClass(ClassLoader.java:247) > ... 17 more > > > > How do we recover this ? > > We don't want to lose all our previous settings in our config.xml and job > configurations. > > We've used this for a while now. > > > Any help is appreciated. > > > Thank you > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/CA%2B7%2BkFCfffMBj4n6kMz7z2Lq5qa0eQ5m5w7gAef89D0e7gJ%3DCA%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-users/CA%2B7%2BkFCfffMBj4n6kMz7z2Lq5qa0eQ5m5w7gAef89D0e7gJ%3DCA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtEABishVTO0N0Av2bxdx9n6v4TrNhHhtuhmcWr8NR6A4Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
