Sonarqube 更新后声纳损坏:“;插件';findbugs';和';java';必须具有与它们属于同一组完全相同的版本。”;

Sonarqube 更新后声纳损坏:“;插件';findbugs';和';java';必须具有与它们属于同一组完全相同的版本。”;,sonarqube,Sonarqube,自从我升级到最新版本(通过apt-get-upgrade)后,ubuntu 12.1上的sonar实例就坏了。Web UI不可访问,并返回503: HTTP ERROR: 503 Problem accessing /. Reason: Service Unavailable Powered by Jetty:// 下面是错误日志: STATUS | wrapper | 2013/10/24 08:56:11 | --> Wrapper Started as Daemon

自从我升级到最新版本(通过apt-get-upgrade)后,ubuntu 12.1上的sonar实例就坏了。Web UI不可访问,并返回503:

HTTP ERROR: 503

Problem accessing /. Reason:

    Service Unavailable
Powered by Jetty://
下面是错误日志:

STATUS | wrapper  | 2013/10/24 08:56:11 | --> Wrapper Started as Daemon
STATUS | wrapper  | 2013/10/24 08:56:11 | Launching a JVM...
INFO   | jvm 1    | 2013/10/24 08:56:12 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
INFO   | jvm 1    | 2013/10/24 08:56:12 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
INFO   | jvm 1    | 2013/10/24 08:56:12 | 
INFO   | jvm 1    | 2013/10/24 08:56:12 | 2013-10-24 08:56:12.314:INFO:oejs.Server:jetty-7.6.11.v20130520
2013.10.24 08:56:14 INFO  o.s.s.p.ServerImpl  SonarQube Server / 3.7.3 / b241d9e47bbe7694cbe7574817240cef214fd316
2013.10.24 08:56:14 INFO  o.s.c.p.Database  Create JDBC datasource for jdbc:mysql://127.0.0.1:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true
2013.10.24 08:56:16 INFO  o.s.s.p.DefaultServerFileSystem  SonarQube home: /opt/sonar
2013.10.24 08:56:16 INFO  o.s.s.p.DefaultServerFileSystem  Deploy dir: /opt/sonar/war/sonar-server/deploy
2013.10.24 08:56:16 INFO  org.sonar.INFO  Install plugins...
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin Findbugs / 1.3 / 4d7d78e9340e39f53bbf202ed16d1253e6507c36
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin JaCoCo / 1.4 / a4f903a3386ed8611cfd2cb9ef4d8e60ca32bff1
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin English Pack / 3.7.3 / b241d9e47bbe7694cbe7574817240cef214fd316
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin SCM Activity / 1.6 / 98fb6ca20f0829d6ead2ab029221ddd781b6e971
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin Maven Batch Plugin / 3.7.3 / b241d9e47bbe7694cbe7574817240cef214fd316
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin Surefire / 1.4 / a4f903a3386ed8611cfd2cb9ef4d8e60ca32bff1
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin Duplications / 3.7.3 / b241d9e47bbe7694cbe7574817240cef214fd316
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin Checkstyle / 1.4 / a4f903a3386ed8611cfd2cb9ef4d8e60ca32bff1
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin PMD / 1.4 / a4f903a3386ed8611cfd2cb9ef4d8e60ca32bff1
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin Java / 1.4 / a4f903a3386ed8611cfd2cb9ef4d8e60ca32bff1
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin Core / 3.7.3 / b241d9e47bbe7694cbe7574817240cef214fd316
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin Database Cleaner / 3.7.3 / b241d9e47bbe7694cbe7574817240cef214fd316
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin Technical Debt / 1.2.1
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin Squid for Java / 1.3 / 4d7d78e9340e39f53bbf202ed16d1253e6507c36
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin Design / 3.7.3 / b241d9e47bbe7694cbe7574817240cef214fd316
2013.10.24 08:56:16 INFO  o.s.s.p.PluginDeployer  Deploy plugin Email notifications / 3.7.3 / b241d9e47bbe7694cbe7574817240cef214fd316
2013.10.24 08:56:16 INFO  org.sonar.INFO  Install plugins done: 264 ms
2013.10.24 08:56:16 ERROR o.s.s.p.Platform  The plugins 'findbugs' and 'java' must have exactly the same version as they belong to the same group.
org.sonar.updatecenter.common.exception.IncompatiblePluginVersionException: The plugins 'findbugs' and 'java' must have exactly the same version as they belong to the same group.
    at org.sonar.updatecenter.common.PluginReferential.getParentRelease(PluginReferential.java:132) ~[sonar-update-center-common-1.8.jar:na]
    at org.sonar.updatecenter.common.PluginReferential.setParent(PluginReferential.java:120) ~[sonar-update-center-common-1.8.jar:na]
    at org.sonar.updatecenter.common.PluginReferentialManifestConverter.fromPluginManifests(PluginReferentialManifestConverter.java:54) ~[sonar-update-center-common-1.8.jar:na]
    at org.sonar.server.plugins.PluginReferentialMetadataConverter.getInstalledPluginReferential(PluginReferentialMetadataConverter.java:40) ~[classes/:na]
    at org.sonar.server.plugins.InstalledPluginReferentialFactory.init(InstalledPluginReferentialFactory.java:48) ~[classes/:na]
    at org.sonar.server.plugins.InstalledPluginReferentialFactory.start(InstalledPluginReferentialFactory.java:37) ~[classes/:na]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_27]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.6.0_27]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.6.0_27]
    at java.lang.reflect.Method.invoke(Method.java:616) ~[na:1.6.0_27]
    at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110) ~[picocontainer-2.14.3.jar:na]
    at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89) ~[picocontainer-2.14.3.jar:na]
    at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84) ~[picocontainer-2.14.3.jar:na]
    at org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169) ~[picocontainer-2.14.3.jar:na]
    at org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132) ~[picocontainer-2.14.3.jar:na]
    at org.picocontainer.behaviors.Stored.start(Stored.java:110) ~[picocontainer-2.14.3.jar:na]
    at org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:1015) ~[picocontainer-2.14.3.jar:na]
    at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1008) ~[picocontainer-2.14.3.jar:na]
    at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:766) ~[picocontainer-2.14.3.jar:na]
    at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:91) ~[sonar-plugin-api-3.7.3.jar:na]
    at org.sonar.server.platform.Platform.startDatabaseConnectors(Platform.java:251) ~[classes/:na]
    at org.sonar.server.platform.Platform.init(Platform.java:189) ~[classes/:na]
    at org.sonar.server.platform.PlatformLifecycleListener.contextInitialized(PlatformLifecycleListener.java:33) [classes/:na]
    at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:746) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
    at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:238) [jetty-servlet-7.6.11.v20130520.jar:7.6.11.v20130520]
    at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1240) [jetty-webapp-7.6.11.v20130520.jar:7.6.11.v20130520]
    at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:689) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
    at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:482) [jetty-webapp-7.6.11.v20130520.jar:7.6.11.v20130520]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-7.6.11.v20130520.jar:7.6.11.v20130520]
    at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-7.6.11.v20130520.jar:7.6.11.v20130520]
    at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
    at org.eclipse.jetty.server.Server.doStart(Server.java:281) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-7.6.11.v20130520.jar:7.6.11.v20130520]
    at org.sonar.application.JettyEmbedder.start(JettyEmbedder.java:67) [sonar-application-3.7.3.jar:na]
    at org.sonar.application.StartServer.main(StartServer.java:48) [sonar-application-3.7.3.jar:na]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_27]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.6.0_27]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.6.0_27]
    at java.lang.reflect.Method.invoke(Method.java:616) ~[na:1.6.0_27]
    at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240) [wrapper-3.2.3.jar:3.2.3]
    at java.lang.Thread.run(Thread.java:679) [na:1.6.0_27]
Caused by: java.util.NoSuchElementException: null
    at org.sonar.updatecenter.common.Artifact.getRelease(Artifact.java:68) ~[sonar-update-center-common-1.8.jar:na]
    at org.sonar.updatecenter.common.PluginReferential.getParentRelease(PluginReferential.java:130) ~[sonar-update-center-common-1.8.jar:na]
    ... 41 common frames omitted
INFO   | jvm 1    | 2013/10/24 08:56:16 | 2013-10-24 08:56:16.508:WARN:oejw.WebAppContext:Failed startup of context o.e.j.w.WebAppContext{/,file:/opt/sonar/war/sonar-server/},file:/opt/sonar/war/sonar-server
INFO   | jvm 1    | 2013/10/24 08:56:16 | org.sonar.updatecenter.common.exception.IncompatiblePluginVersionException: The plugins 'findbugs' and 'java' must have exactly the same version as they belong to the same group.
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.updatecenter.common.PluginReferential.getParentRelease(PluginReferential.java:132)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.updatecenter.common.PluginReferential.setParent(PluginReferential.java:120)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.updatecenter.common.PluginReferentialManifestConverter.fromPluginManifests(PluginReferentialManifestConverter.java:54)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.server.plugins.PluginReferentialMetadataConverter.getInstalledPluginReferential(PluginReferentialMetadataConverter.java:40)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.server.plugins.InstalledPluginReferentialFactory.init(InstalledPluginReferentialFactory.java:48)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.server.plugins.InstalledPluginReferentialFactory.start(InstalledPluginReferentialFactory.java:37)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at java.lang.reflect.Method.invoke(Method.java:616)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.behaviors.Stored.start(Stored.java:110)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:1015)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1008)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:766)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:91)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.server.platform.Platform.startDatabaseConnectors(Platform.java:251)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.server.platform.Platform.init(Platform.java:189)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.server.platform.PlatformLifecycleListener.contextInitialized(PlatformLifecycleListener.java:33)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:746)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:238)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1240)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:689)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:482)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.server.Server.doStart(Server.java:281)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.application.JettyEmbedder.start(JettyEmbedder.java:67)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.application.StartServer.main(StartServer.java:48)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at java.lang.reflect.Method.invoke(Method.java:616)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at java.lang.Thread.run(Thread.java:679)
INFO   | jvm 1    | 2013/10/24 08:56:16 | Caused by: 
INFO   | jvm 1    | 2013/10/24 08:56:16 | java.util.NoSuchElementException
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.updatecenter.common.Artifact.getRelease(Artifact.java:68)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.updatecenter.common.PluginReferential.getParentRelease(PluginReferential.java:130)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.updatecenter.common.PluginReferential.setParent(PluginReferential.java:120)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.updatecenter.common.PluginReferentialManifestConverter.fromPluginManifests(PluginReferentialManifestConverter.java:54)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.server.plugins.PluginReferentialMetadataConverter.getInstalledPluginReferential(PluginReferentialMetadataConverter.java:40)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.server.plugins.InstalledPluginReferentialFactory.init(InstalledPluginReferentialFactory.java:48)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.server.plugins.InstalledPluginReferentialFactory.start(InstalledPluginReferentialFactory.java:37)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at java.lang.reflect.Method.invoke(Method.java:616)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.behaviors.Stored.start(Stored.java:110)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:1015)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1008)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:766)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:91)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.server.platform.Platform.startDatabaseConnectors(Platform.java:251)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.server.platform.Platform.init(Platform.java:189)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.server.platform.PlatformLifecycleListener.contextInitialized(PlatformLifecycleListener.java:33)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:746)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:238)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1240)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:689)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:482)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.server.Server.doStart(Server.java:281)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.application.JettyEmbedder.start(JettyEmbedder.java:67)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.sonar.application.StartServer.main(StartServer.java:48)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at java.lang.reflect.Method.invoke(Method.java:616)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
INFO   | jvm 1    | 2013/10/24 08:56:16 |   at java.lang.Thread.run(Thread.java:679)
INFO   | jvm 1    | 2013/10/24 08:56:16 | 2013-10-24 08:56:16.533:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:9000
我所尝试的:

将plugins文件夹中的包从no更新为最新版本,它们都是sonar-*-1.4.jar

如何在不访问sonar的情况下更新findbugs和java插件?

更新后

/opt/sonar/extensions/plugins
目录中的JAR,请确保权限正确,在我的情况下:

ls -lsa
44 -rw-r--r-- 1 sonar adm   44212 Oct 24 09:34 sonar-java-plugin-1.4.jar
重新启动时,请确保等待声纳启动:

 tail -f /opt/sonar/logs/sonar.log

如果您正在使用新的2.4Java插件,那么可以删除Squid、Surefire和Jacoco插件。它们现在都集成到一个插件中:

版本2.4将Java从多个插件的“生态系统”中移除 到一个包含大多数 以前包含在生态系统中的功能。明确地 Squid、Surefire和Jacoco已经被应用到Java插件中。 FindBugs已被拆分为一个独立的可选插件。到 继续使用,升级到2.4版。不幸的是, SonarQube的更新中心无法优雅地处理切换。你可以 使用更新中心下载插件的新版本。 但是,您必须手动删除Surefire、JaCoCo和Squid,以便 来自$SONARQUBE_HOME/extensions/plugins的Java插件


要解决2.4版本的问题,需要删除Squid、Surefire和Jacoco

,请按照以下列表中的粗体指示进行操作:

升级到2.4您无法自动升级到2.4版本2.4 将Java从多个插件的“生态系统”移动到单个插件, 包含大部分功能的独立插件 包含在生态系统中。特别是Squid、Surefire和Jacoco 已经被应用到Java插件中。FindBugs已被拆分 变成一个独立的、可选的插件。要继续使用它,请升级它 到2.4版。不幸的是,SonarQube的更新中心无法处理 开关优雅地关上。您可以使用更新中心下载 插件的新版本。但是,您必须手动删除 Surefire、JaCoCo和Squid for Java插件 来自$SONARQUBE\u主页/扩展/插件。


您的意思是下载javaEcosystem-1.5.zip并手动将其解压缩到目录中吗?我这样做了,它也起作用了。我还需要删除
extensions/plugins/sonar-findbugs-plugin-2.0.jar
rm /opt/sonar/extensions/plugins/sonar-surefire-plugin-*
rm /opt/sonar/extensions/plugins/sonar-jacoco-plugin-*
rm /opt/sonar/extensions/plugins/sonar-squid-plugin-*