From 01098128f1f42805365a3784505ed21a4442e0b2 Mon Sep 17 00:00:00 2001 From: Olga MaciaszekSharma Date: Thu, 28 Sep 2023 11:16:44 +0200 Subject: [PATCH] Document context refresh not supported for AOT and native. --- docs/src/main/asciidoc/spring-cloud-commons.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/src/main/asciidoc/spring-cloud-commons.adoc b/docs/src/main/asciidoc/spring-cloud-commons.adoc index 1f89ce46..47d91c07 100644 --- a/docs/src/main/asciidoc/spring-cloud-commons.adoc +++ b/docs/src/main/asciidoc/spring-cloud-commons.adoc @@ -229,6 +229,8 @@ The configuration property must be present in order to update the value after a a value in your application you might want to switch your logic to rely on its absence instead. Another option would be to rely on the value changing rather than not being present in the application's configuration. +WARNING: Context Refresh is not supported for Spring AOT transformations and native images. For AOT and native images, `spring.cloud.refresh.enabled` needs to be set to `false`. + === Encryption and Decryption Spring Cloud has an `Environment` pre-processor for decrypting property values locally.