Error after analysis - NoClassDefFoundError: ch/qos/logback/classic/spi/ThrowableProxy

This is a major blocker as it causes the coverage result not to be picked up by SonarScanner.

macOS M1 self-hosted agent using Java 17 and Azure DevOps

 INFO: ------------------------------------------------------------------------

##[error]Exception in thread "Thread-0" java.lang.NoClassDefFoundError: ch/qos/logback/classic/spi/ThrowableProxy

at ch.qos.logback.classic.spi.LoggingEvent.<init>(LoggingEvent.java:145)

at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:424)

at ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:386)

at ch.qos.logback.classic.Logger.error(Logger.java:543)

at org.eclipse.jgit.internal.util.ShutdownHook.cleanup(ShutdownHook.java:87)

at java.base/java.lang.Thread.run(Thread.java:840)

Caused by: java.lang.ClassNotFoundException: ch.qos.logback.classic.spi.ThrowableProxy

Exception in thread "Thread-0" java.lang.NoClassDefFoundError: ch/qos/logback/classic/spi/ThrowableProxy

at ch.qos.logback.classic.spi.LoggingEvent.<init>(LoggingEvent.java:145)

at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:424)

at ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:386)

at ch.qos.logback.classic.Logger.error(Logger.java:543)

at org.eclipse.jgit.internal.util.ShutdownHook.cleanup(ShutdownHook.java:87)

at java.base/java.lang.Thread.run(Thread.java:840)

Caused by: java.lang.ClassNotFoundException: ch.qos.logback.classic.spi.ThrowableProxy

##[error]... 6 more

... 6 more

The SonarScanner CLI has finished

06:14:57.99 Post-processing succeeded.

Finishing: SonarQubeAnalyze