Problem scenario
You run sonar-scanner from the command line. You receive an error such as this: “Error during SonarQube Scanner execution … java.lang.IllegalStateException: Unable to load component class org.sonar.scanner.scan.ProjectLock at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java.64”
What should you do?
Possible solution #1
Is the sonar-project.properties file in the directory from which you ran sonar-scanner? This command expects this file to be in that directory.
…