My colleague enabled a plugin for - I think - custom rule sets and the scanner in our gitlab pipeline (using the docker image) now throws:
ERROR: Error during SonarScanner execution
53org.springframework.beans.factory.BeanCreationException: Error creating bean with name âorg.sonarsource.scanner.api.internal.IsolatedClassloader@76a4ebf2-org.sonar.scanner.bootstrap.ScannerPluginRepositoryâ: Initialization of bean failed; nested exception is java.lang.IllegalStateException: The plugin [javacustom] does not support Java 11.0.19
All plugins have to get used in case they declare things like language extensions that will be used to determine if theyâre needed or not.
So I guess the author has targeted Java 17 (we donât even do this with our own analyzers that we develop for our products).
And, it might be a nightmare trying to get everyone to use Java 17 when the requirements (and documentations) for SonarQube are clear that Java 11 and Java 17 are supported.
With that in mind, can you ask the plugin developer to target Java 11?