While run I get the following error:
java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
Here is my properties file (http://sonar.example.com is a placeholder for a real DNS and this endpoint is accessible):
sonar.host.url=http://sonar.example.com
sonar.sourceEncoding=UTF-8
sonar.projectKey=test
sonar.projectName=test
sonar.projectVersion=1.0
sonar.sources=.
sonar.language=js
sonar.login=somesecrettext
do you see the error when you run SonarQube or sonar-scanner? If SonarQube, you are using quite old version, consider upgrading at least to LTS version 7.9 .
This issue can happen when you run on Java 11, which doesn’t provide some XML modules by default. Using the latest version of SonarQube and it’s analyzers should fix it.