Uploaded image for project: 'Serverless logic'
  1. Serverless logic
  2. SRVLOGIC-61

Many serverless workflow examples do not compile in native mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.27.0
    • 1.26.0
    • serverless-workflow
    • None
    • 2022 Week 47-49 (from Nov 21), 2022 Week 50-02 (from Dec 12), 2023 Week 03-05 (from Jan 16), 2023 Week 06-08 (from Feb 6)

      Error: Error parsing reflection configuration in jar:file:/project/lib/org.kie.kie-pmml-api-8.30.1-SNAPSHOT.jar!/META-INF/native-image/org.kie/kie-pmml-api/reflect-config.json:
      Could not resolve org.kie.pmml.api.identifiers.KiePmmlAppRoot for reflection configuration. Reason: java.lang.ClassNotFoundException: org.kie.pmml.api.identifiers.KiePmmlAppRoot. To allow unresolvable reflection configuration, use option --allow-incomplete-classpath
      Verify that the configuration matches the schema described in the -H:PrintFlags=+ output for option ReflectionConfigurationResources.
      com.oracle.svm.core.util.UserError$UserException: Error parsing reflection configuration in jar:file:/project/lib/org.kie.kie-pmml-api-8.30.1-SNAPSHOT.jar!/META-INF/native-image/org.kie/kie-pmml-api/reflect-config.json:
      Could not resolve org.kie.pmml.api.identifiers.KiePmmlAppRoot for reflection configuration. Reason: java.lang.ClassNotFoundException: org.kie.pmml.api.identifiers.KiePmmlAppRoot. To allow unresolvable reflection configuration, use option --allow-incomplete-classpath
      Verify that the configuration matches the schema described in the -H:PrintFlags=+ output for option ReflectionConfigurationResources.

      Happens for example, for serverless-workflow-callback-example.

      You can run `mvn package -Dquarkus.native.container-build=true -Dnative -Pnative` on the example on branch 8.30.x

            Unassigned Unassigned
            tradisso@redhat.com Tristan Radisson
            Tristan Radisson Tristan Radisson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: