docker6
java
dev.to
This is a classic "Enterprise Migration Trap." You are caught between a Legacy Runtime (Java 8) and a Modern Toolchain (Sonar/Tekton) that requires a higher version of Java to execute its own analysis logic. Since you cannot migrate the actual source code to Java 21 yet, but the pipeline forces Java 21 for the Sonar step, you have three primary strategies to bypass the BASE64Decoder and JAXB compilation errors. Strategy 1: Decouple Compilation from Analysis (Recommended) SonarQub