Hello,
I’ve been trying to get SonarQube up and running for a while now and have tried quite a few combinations of things.
Process:
- Windows 10 machine
- SonarQube 6.7.4
- Setup JAVA_HOME to and PATH to include %JAVA_HOME%\bin
- Installed JDBC driver by
– 1) Adding “sqljdbc_auth.dll” to \bin
– 2) Adding “sqljdbc42.jar” to \extensions\jdbc-driver - Ran StartSonar.bat
- Tried various versions of java JRE and JDK. Some work worse but most give the following error.
Error from web.log:
…
… ERROR web[] [o.s.s.p.Platform] Background initialization failed. Stopping SonarQube
java.lang.IllegalStateException: Unable to register component org.sonar.server.user.ws.UpdateAction
…
Caused by: java.lang.NoClassDefFoundError: org/sonarqube/ws/client/user/UpdateRequest
…
Caused by: java.lang.ClassNotFoundException: org.sonarqube.ws.client.user.UpdateRequest
…
Caused by: java.util.zip.ZipException: invalid LOC header (bad signature)
…
… INFO web[][o.s.p.StopWatcher] Stopping process