java.lang.IllegalStateException: Fail to load plugin Checkstyle [checkstyle]

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Guava dependency is problematic
    via GitHub by marschall
    ,
  • GitHub comment 841#212962350
    via GitHub by guwirth
    ,
    • java.lang.IllegalStateException: Fail to load plugin Checkstyle [checkstyle] at org.sonar.server.plugins.ServerExtensionInstaller.installExtensions(ServerExtensionInstaller.java:74)[sonar-server-5.6.5.jar:na] at org.sonar.server.platform.platformlevel.PlatformLevel4.start(PlatformLevel4.java:653)[sonar-server-5.6.5.jar:na] at org.sonar.server.platform.Platform.start(Platform.java:216)[sonar-server-5.6.5.jar:na] at org.sonar.server.platform.Platform.startLevel34Containers(Platform.java:190)[sonar-server-5.6.5.jar:na] at org.sonar.server.platform.Platform.doStart(Platform.java:113)[sonar-server-5.6.5.jar:na] at org.sonar.server.platform.Platform.doStart(Platform.java:99)[sonar-server-5.6.5.jar:na] at org.sonar.server.platform.PlatformServletContextListener.contextInitialized(PlatformServletContextListener.java:44)[sonar-server-5.6.5.jar:na] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4812)[tomcat-embed-core-8.0.32.jar:8.0.32] at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5255)[tomcat-embed-core-8.0.32.jar:8.0.32] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)[tomcat-embed-core-8.0.32.jar:8.0.32] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)[tomcat-embed-core-8.0.32.jar:8.0.32] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)[tomcat-embed-core-8.0.32.jar:8.0.32] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_121] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_121] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_121] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_121] Caused by: java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableList at org.sonar.plugins.checkstyle.CheckstylePlugin.getExtensions(CheckstylePlugin.java:38)[na:na] at org.sonar.api.SonarPlugin.define(SonarPlugin.java:51)[sonar-plugin-api-5.6.5.jar:na] at org.sonar.server.plugins.ServerExtensionInstaller.installExtensions(ServerExtensionInstaller.java:64)[sonar-server-5.6.5.jar:na] ... 15 more Caused by: java.lang.ClassNotFoundException: com.google.common.collect.ImmutableList at org.sonar.classloader.ParentFirstStrategy.loadClass(ParentFirstStrategy.java:39)[sonar-classloader-1.0.jar:na] at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:87)[sonar-classloader-1.0.jar:na] at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:76)[sonar-classloader-1.0.jar:na] ... 18 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,