java.lang.NoClassDefFoundError: org/apache/xerces/jaxp/DocumentBuilderFactoryImpl while running sonar-scanner

Hi Ben,

Thanks for all those details. Unfortunately, I failed to reproduce. I tested on a similar configuration (except the exact same version of Ubuntu):

INFO: SonarQube Scanner 4.0.0.1744
INFO: Java 11.0.3 AdoptOpenJDK (64-bit)
INFO: Linux 4.4.0-154-generic amd64
...
INFO: SonarQube server 7.6.0
...
15:54:59.395 INFO: Sensor PylintImportSensor [python]
15:54:59.398 INFO: Sensor PylintImportSensor [python] (done) | time=3ms
...

If your version of SonarPython 1.14.1 is not corrupted (compare to sonar-python-plugin-1.14.1.3143.jar ), I have no idea about why you are facing this error.

$ md5sum sonar-python-plugin-1.14.1.3143.jar
5246ba7166e8e9ab17d08a6514e9a086  sonar-python-plugin-1.14.1.3143.jar
$ jar tf sonar-python-plugin-1.14.1.3143.jar | grep org/apache/xerces/jaxp/DocumentBuilderFactoryImpl
org/apache/xerces/jaxp/DocumentBuilderFactoryImpl.class
1 Like