java.lang.IllegalStateException

Fail to load plugin Checkstyle [checkstyle]

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web37

  • via GitHub by marschall
    ,
  • via GitHub by guwirth
    ,
  • Stack trace

    • 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

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,