Article ID:4403508392987
1 minute readKnowledge base

Jenkins start-up fails with a stacktrace similar to the one below. Taking a look at the stacktrace, it seems that the problem is in the depgraph-view plugin, but the problem is actually in the jacoco plugin.

2021-07-09 07:27:57.026+0000 [id=44]	SEVERE	h.ExtensionFinder$GuiceFinder#<init>: Failed to create Guice container from all the plugins
java.lang.LinkageError: loader constraint violation: loader (instance of hudson/PluginFirstClassLoader) previously initiated loading for a different type with name "com/google/inject/Binder"
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(
	at jenkins.util.AntClassLoader.defineClassFromData(
	at jenkins.util.AntClassLoader.getClassFromStream(
	at jenkins.util.AntClassLoader.findClassInComponents(
	at jenkins.util.AntClassLoader.findClass(
	at jenkins.util.AntClassLoader.loadClass(
	at java.lang.ClassLoader.loadClass(
	at hudson.plugins.depgraph_view.model.graph.DependencyGraphModule.configure(


This issue is actually being tracked as JENKINS-65757 and it is fixed in jacoco-3.3.0. Notice that this version requires dashboard-view-2.17, or higher, thus you might need to upgrade this plugin as well to make the Controller to be up and running again.