Skip to content

springdoc-openapi-starter-webmvc-ui 3 : Upgrade Jackson 2 => Jackson 3 With Spring boot 4 #3200

@raymond10

Description

@raymond10

Hello,

After a migration of spring boot 3 to Spring boot 4 and to springdoc-openapi-starter-webmvc-ui 3.0.1,
I have an exception when I start my application.
With spring boot 4, I use now jackson 3, but springdoc-openapi-starter-webmvc-ui still use jackson 2.

Here is the detail of my exception :

::  :: 
:: Built with Spring Boot :: 4.0.1

org.springframework.context.ApplicationContextException: Unable to start web server

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 
'springdocBeanFactoryPostProcessor' defined in class path resource [org/springdoc/core/configuration/SpringDocConfiguration.class]: com/fasterxml/jackson/databind/node/ObjectNode
	at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:657)

Caused by: java.lang.ClassNotFoundException: com.fasterxml.jackson.databind.node.ObjectNode
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
	... 33 common frames omitted

Thanks for your Help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions