You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After migrating to Spring Boot 2.5.0 I get the following warning during startup:
WARN | o.s.h.c.j.Jackson2ObjectMapperBuilder | For Jackson Kotlin classes support please add "com.fasterxml.jackson.module:jackson-module-kotlin" to the classpath
Another person posting this StackOverflow question has this issue as well, but there is no clear/easy solution for it without code changes.
Just like this person I am not using Kotlin at all. Please make it easy to exclude Kotlin from autoconfiguration (as for example like with ThymeLeaf with exclude = {ThymeleafAutoConfiguration.class}, or maybe even solve this automatically for the user entirely.
The text was updated successfully, but these errors were encountered:
@Bas83 thanks for the report but that warning is logged by Spring Framework based on the presence of a kotlin-specific jar. The SO question you've shared has a comment that links to spring-projects/spring-framework#26962.
Can you please confirm your application uses Spring Security?
snicoll
changed the title
Make it easy to exclude Kotlin entirely, or do this automatically, to avoid the following startup warning from Jackson: For Jackson Kotlin classes support please add "com.fasterxml.jackson.module:jackson-module-kotlin" to the classpath
Upgrading to Spring Boot 2.5.0 leads to a startup warning from Jackson about Kotlin
Jun 1, 2021
Thanks for confirming. Yes, that's the root cause of your issue. Please subscribe to that issue for further update. On our side, we'll add a temporary exclude as I am not sure that Spring Security 5.5.1 will be out before Spring Boot 2.5.1.
After migrating to Spring Boot 2.5.0 I get the following warning during startup:
WARN | o.s.h.c.j.Jackson2ObjectMapperBuilder | For Jackson Kotlin classes support please add "com.fasterxml.jackson.module:jackson-module-kotlin" to the classpath
Another person posting this StackOverflow question has this issue as well, but there is no clear/easy solution for it without code changes.
Just like this person I am not using Kotlin at all. Please make it easy to exclude Kotlin from autoconfiguration (as for example like with ThymeLeaf with
exclude = {ThymeleafAutoConfiguration.class}
, or maybe even solve this automatically for the user entirely.The text was updated successfully, but these errors were encountered: