Hello,
SonarQube enterprise Version 8.9.6
We are running a build on Jenkins to upgrade SAP Hybris that uses JDK 17 for code compilation, the build stage is working fine. At the time of Sonar Scan Stage, it’s failing with the below error:
java.lang.ExceptionInInitializerError
Caused by: net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InaccessibleObjectException–>Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte,int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not “opens java.lang” to unnamed module
Does the Sonar 8.9.6 support analysis for application running Java 17.