Skip to content

Commit

Permalink
Fix native image building with datastax driver dependency (#598)
Browse files Browse the repository at this point in the history
  • Loading branch information
kathirsvn authored Oct 31, 2023
1 parent 8ceeea2 commit f8ed7a3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,7 @@ quarkus:
# adapt path of the open api definitions
smallrye-openapi:
path: /api/json/openapi
native:
# Adding com.datastax.oss.driver.internal.core.metadata.MetadataManager to the list of classes that are initialized
# at run time while building the native image. This is for the issue https://github.com/stargate/jsonapi/issues/597
additional-build-args: --initialize-at-run-time=com.datastax.oss.driver.internal.core.metadata.MetadataManager

0 comments on commit f8ed7a3

Please sign in to comment.