diff --git a/spring-core/src/main/resources/META-INF/native-image/org.springframework/spring-core/native-image.properties b/spring-core/src/main/resources/META-INF/native-image/org.springframework/spring-core/native-image.properties index 4bab1cc0d05..6bb35ccfdb7 100644 --- a/spring-core/src/main/resources/META-INF/native-image/org.springframework/spring-core/native-image.properties +++ b/spring-core/src/main/resources/META-INF/native-image/org.springframework/spring-core/native-image.properties @@ -1,2 +1,5 @@ Args = --initialize-at-build-time=org.springframework.aot.AotDetector,\ -org.springframework.core.NativeDetector +org.springframework.core.NativeDetector,\ +org.springframework.util.ConcurrentReferenceHashMap,\ +org.springframework.core.SpringProperties,\ +org.springframework.util.ClassUtils diff --git a/spring-web/src/main/resources/META-INF/native-image/org.springframework/spring-web/native-image.properties b/spring-web/src/main/resources/META-INF/native-image/org.springframework/spring-web/native-image.properties index bcc0e66ab10..77c8057c5ac 100644 --- a/spring-web/src/main/resources/META-INF/native-image/org.springframework/spring-web/native-image.properties +++ b/spring-web/src/main/resources/META-INF/native-image/org.springframework/spring-web/native-image.properties @@ -1 +1,2 @@ -Args = --initialize-at-build-time=org.springframework.http.HttpStatus +Args = --initialize-at-build-time=org.springframework.http.HttpStatus,\ +org.springframework.web.client.RestTemplate diff --git a/spring-webmvc/src/main/resources/META-INF/native-image/org.springframework/spring-webmvc/native-image.properties b/spring-webmvc/src/main/resources/META-INF/native-image/org.springframework/spring-webmvc/native-image.properties new file mode 100644 index 00000000000..6e63da6d955 --- /dev/null +++ b/spring-webmvc/src/main/resources/META-INF/native-image/org.springframework/spring-webmvc/native-image.properties @@ -0,0 +1 @@ +Args = --initialize-at-build-time=org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport