Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-5443

java8 image not working with java11 compiled dependencies

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Minor Minor
    • 1.9.0.Final
    • None
    • Examples, Image
    • None
    • False
    • False
    • Undefined

      example kogito-travel-agency/basic in master branch:

      when running the example as described inside the Dockerfile.jvm, the following exception happens:

      Caused by: java.lang.UnsupportedClassVersionError: io/quarkus/bootstrap/logging/InitialConfigurator has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

      Seems like the io.quarkus.bootstrap:quarkus-bootstrap-parent Java version was advanced from java 8 -> java 11 and now the fabric8/java-alpine-openjdk8-jre runtime is not fitting - replacing with java-alpine-openjdk11-jre works

      the fabric8/java-alpine-openjdk8-jre is used in several examples - all of them should be upgraded to the java11 image 

       

              dmartino@redhat.com Daniele Martinoli
              uegozi@redhat.com Ute Egozi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: