I tried to upgrade our SonarQube server from 7.7 to the 7.9 LTS version. All seemed to work fine, until I wanted to install the Sonar i-Code CNES plugin. As the following page indicates, the plugin should be compatible: https://docs.sonarqube.org/latest/instance-administration/plugin-version-matrix/. However, after installation, the SonarQube server would no longer start.
While looking into the issue, I found the following in the web.log file:
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException
While looking further into this exception, the most obvious problem that might’ve caused this is the fact that SonarQube 7.9 LTS now requires Java 11 (https://docs.sonarqube.org/latest/setup/upgrade-notes/), but from this version, the (already deprecated) JAXB module has been removed.
There is a solution to this that I think should be made from the plugin: including the necessary JAXB dependencies to the plugin.
But in any case, I believe that the plugin-version-matrix (https://docs.sonarqube.org/latest/instance-administration/plugin-version-matrix/) should be updated. Perhaps there are more plugins that depend on previously deprecated and in Java 11 removed modules.
Thanks for the effort in making this great product.
With kind regards,