-
Task
-
Resolution: Done
-
Major
-
None
-
None
-
None
In order to make Quarkus examples work, we needed the "-H:ReflectionConfigurationFiles" property:
<plugin> <groupId>io.quarkus</groupId> <artifactId>quarkus-maven-plugin</artifactId> <executions> <execution> <goals> <goal>native-image</goal> </goals> <configuration> <enableHttpUrlHandler>true</enableHttpUrlHandler> <!-- "-H:ReflectionConfigurationFiles" is a workaround for KOGITO-1893 --> <additionalBuildArgs>-H:ReflectionConfigurationFiles=../../reflection.json,--allow-incomplete-classpath</additionalBuildArgs> </configuration> </execution> </executions> </plugin>
And also the "reflection.json" file.
The issue was that DTOs didn't have the constructor in Native mode.
The affected examples are:
- kogito-travel-agency/extended/travels
- kogito-travel-agency/extended/visas
- onboarding-example/onboarding-quarkus
Once the issue is resolved, the above configuration must be removed.
- is blocked by
-
KOGITO-1893 kogito-travel-agency visas service fails to receive message in native mode.
- Resolved
- relates to
-
KOGITO-1917 Issue running process-kafka-quickstart-quarkus native mode
- Closed