Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-439

hibernate-orm quickstart and context-propagation quickstart don't compile into native with prod bits

XMLWordPrintable

    • False
    • False
    • +
    • Undefined
    • ---

      hibernate-orm quickstart and context-propagation quickstart don't compile into native with prod bits

      They do compile into native with 1.7.3.Final community bits

      git clone https://github.com/quarkusio/quarkus-quickstarts.git
      cd quarkus-quickstarts/hibernate-orm-quickstart
      # or quarkus-quickstarts/context-propagation
      
      mvn clean verify -Dnative -Dmaven.repo.local=/Users/rsvoboda/Downloads/maven-repository -Dquarkus-plugin.version=1.7.3.Final-redhat-00009 -Dquarkus.platform.version=1.7.3.Final-redhat-00009
      

      ER10 bits are for example here: http://download.eng.brq.redhat.com/rcm-guest/staging/quarkus/quarkus-1.7.3.ER10

      Error message:

      [hibernate-orm-quickstart-1.0-SNAPSHOT-runner:91084]     analysis: 182,075.97 ms,  4.84 GB
      Error: Unsupported features in 2 methods
      Detailed message:
      Error: Class initialization of org.postgresql.jre7.sasl.ScramAuthenticator failed. Use the option --initialize-at-run-time=org.postgresql.jre7.sasl.ScramAuthenticator to explicitly request delayed initialization of this class.
      Original exception that caused the problem: java.lang.NoClassDefFoundError: com/ongres/scram/common/stringprep/StringPreparation
      ...
      Caused by: java.lang.ClassNotFoundException: com.ongres.scram.common.stringprep.StringPreparation
      ...
      

      Running mvn clean verify -Dnative -Dquarkus-plugin.version=1.7.3.Final -Dquarkus.platform.version=1.7.3.Final works fine.

      CC sgrinove separdau

              mszynkie@redhat.com Michal Szynkiewicz (Inactive)
              rsvoboda@redhat.com Rostislav Svoboda
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: