Replies: 1 comment
-
We don't print stack traces by default for this kind of user error to avoid DoS or info disclosure vulnerabilities. You may be able to enable to stacktrace printing by messing with your logback config. Your dependency setup will use micronaut-serialization based on jackson-core. It will not use jackson-databind. For that you would need to remove the io.micronaut.serde dependencies and instead add micronaut-jackson-databind. From the error message, it looks like the weird Duration data structure is not recognized. Micronaut-serialization expects something like "PT1H", not a whole json object. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a Dto with a java.time.Duration
when I try to use it in a post as a param:
with this body:
it produces
my build.gradle.kts specifies however that jackson is used:
can someone help me pls and explain me why this stuff happens?
Beta Was this translation helpful? Give feedback.
All reactions