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

java8 image not working with java11 compiled dependencies

    XMLWordPrintable

Details

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

    Description

      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 

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: