Skip to content

Native image support for KV operations #886

@msonnleitner

Description

@msonnleitner

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions