Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native image support for KV operations #886

Open
msonnleitner opened this issue Oct 10, 2024 · 0 comments
Open

Native image support for KV operations #886

msonnleitner opened this issue Oct 10, 2024 · 0 comments

Comments

@msonnleitner
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant