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

Error Starting server #407

Open
sidhant92 opened this issue Nov 17, 2024 · 0 comments
Open

Error Starting server #407

sidhant92 opened this issue Nov 17, 2024 · 0 comments

Comments

@sidhant92
Copy link

Issue description

My server API's use JSON.

I am using Micronaut HTTP Client which needs to send and receive XML to communicate to other services.

After adding this module on startup I am getting the following error:

Message: Error resolving property value [jackson.property-naming-strategy]. Property doesn't exist

Path Taken: new XmlStreamToObjectConverter(XmlMapper xmlMapper,ConversionService conversionService) --> new XmlStreamToObjectConverter([XmlMapper xmlMapper],ConversionService conversionService) --> XmlMapperFactory.serializers --> new OptionalValuesSerializer([JacksonConfiguration jacksonConfiguration]) --> JacksonConfiguration.setPropertyNamingStrategy([PropertyNamingStrategy propertyNamingStrategy])

jackson:
property-naming-strategy: SNAKE_CASE

After removing this config it works fine.
I dont want to put casing on each and every object.

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