环境:win7 64 位
软件: sonarqube-6.7.4,sonar-scanner-3.2.0.1227-windows、mysql5.7
插件:在 extensions/plugins/目录下包含 sonar-php-plugin-2.13.0.3107
检测语言:PHP

备注:sonar.language=php

16:40:22.902 ERROR: Error during SonarQube Scanner execution
java.lang.IllegalStateException: Unable to load component class org.sonar.scanne
r.phases.AbstractPhaseExecutor

at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContain
er.getComponent(ComponentContainer.java:64)
at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContai
ner.java:678)
at org.sonar.core.platform.ComponentContainer.getComponentByType(Compone
ntContainer.java:265)
at org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanCon
tainer.java:177)
at org.sonar.core.platform.ComponentContainer.startComponents(ComponentC
ontainer.java:135)
at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer
.java:121)
at org.sonar.scanner.scan.ProjectScanContainer.scan(ProjectScanContainer
.java:291)
at org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectSc
anContainer.java:286)
at org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanC
ontainer.java:264)
at org.sonar.core.platform.ComponentContainer.startComponents(ComponentC
ontainer.java:135)
at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer
.java:121)
at org.sonar.scanner.task.ScanTask.execute(ScanTask.java:48)
at org.sonar.scanner.task.TaskContainer.doAfterStart(TaskContainer.java:
84)
at org.sonar.core.platform.ComponentContainer.startComponents(ComponentC
ontainer.java:135)
at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer
.java:121)
at org.sonar.scanner.bootstrap.GlobalContainer.executeTask(GlobalContain
er.java:121)
at org.sonar.batch.bootstrapper.Batch.doExecuteTask(Batch.java:116)
at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:71)
at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.exec
ute(BatchIsolatedLauncher.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(Iso
latedLauncherProxy.java:60)
at com.sun.proxy.$Proxy0.execute(Unknown Source)
at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner
.java:171)
at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.j
ava:128)
at org.sonarsource.scanner.cli.Main.execute(Main.java:111)
at org.sonarsource.scanner.cli.Main.execute(Main.java:75)
at org.sonarsource.scanner.cli.Main.main(Main.java:61)
Caused by: java.lang.IllegalStateException: Unable to load component class org.s
onar.scanner.scan.filesystem.FileIndexer

at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContain
er.getComponent(ComponentContainer.java:64)
at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContai
ner.java:632)
at org.picocontainer.parameters.BasicComponentParameter$1.resolveInstanc
e(BasicComponentParameter.java:118)
at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(Com
ponentParameter.java:136)
at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleM
emberInjector.java:78)
at org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getPa
rameterArguments(ConstructorInjector.java:309)
at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInje
ctor.java:335)
at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDepende
ncyGuard.observe(AbstractInjector.java:270)
at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(
ConstructorInjector.java:364)
at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter
.getComponentInstance(AbstractInjectionFactory.java:56)
at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(Abs
tractBehavior.java:64)
at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:9
1)
at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContain
er.java:699)
at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContai
ner.java:647)
at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContain
er.getComponent(ComponentContainer.java:62)
... 29 more
Caused by: java.lang.IllegalStateException: Unable to load component class org.s
onar.scanner.scan.filesystem.LanguageDetection

at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContain
er.getComponent(ComponentContainer.java:64)
at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContai
ner.java:632)
at org.picocontainer.parameters.BasicComponentParameter$1.resolveInstanc
e(BasicComponentParameter.java:118)
at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(Com
ponentParameter.java:136)
at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleM
emberInjector.java:78)
at org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getPa
rameterArguments(ConstructorInjector.java:309)
at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInje
ctor.java:335)
at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDepende
ncyGuard.observe(AbstractInjector.java:270)
at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(
ConstructorInjector.java:364)
at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter
.getComponentInstance(AbstractInjectionFactory.java:56)
at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(Abs
tractBehavior.java:64)
at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:9
1)
at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContain
er.java:699)
at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContai
ner.java:647)
at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContain
er.getComponent(ComponentContainer.java:62)
... 43 more
Caused by: You must install a plugin that supports the language 'php //é??è?????
???????§?è??è¨????????????????python:py???java:java'

请各位大神指教
@seveniruby @Lihuazhang @DoctorQ @ymsun


↙↙↙阅读原文可查看相关链接,并与作者交流