spring-vault
spring-vault copied to clipboard
Native image support for KV operations
are native images supported? (not an expert, just tried casually to build a native image from a Spring Boot app)
doing something like
Versioned<KeyWrapper> v = vaultTemplate.opsForVersionedKeyValue(kvEngine).get(kvPath,KeyWrapper.class);
And I get
com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of
org.springframework.vault.core.VersionedResponse: cannot deserialize from Object value (no delegate- or property-based Creator): this appears to be a native image, in which case you may need to configure reflection for the class that is to be deserialized
Versions are Spring Boot 3.4.0-M3 (also tried 3.3.4) Spring Vault 3.1.2