diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index f54252fa9d..e475da55dd 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -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 \ No newline at end of file