public int getBaseImageMajorJavaVersion() {
    return baseImageMajorJavaVersion;
  }
Exception when the Java version in the base image is incompatible with the Java version of the
application to be containerized. For example, when the project is Java 11 but the base image is
Java 8.
jib-plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/IncompatibleBaseImageJavaVersionException.java