java.lang.NoClassDefFoundError: Could not initialize class com.fasterxml.jackson.databind.SerializationConfig at com.fasterxml.jackson.databind.ObjectMapper.<init>(ObjectMapper.java:543) at com.fasterxml.jackson.databind.ObjectMapper.<init>(ObjectMapper.java:460)

GitHub | dragontree101 | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    update jackson dependency's version

    GitHub | 7 months ago | dragontree101
    java.lang.NoClassDefFoundError: Could not initialize class com.fasterxml.jackson.databind.SerializationConfig at com.fasterxml.jackson.databind.ObjectMapper.<init>(ObjectMapper.java:543) at com.fasterxml.jackson.databind.ObjectMapper.<init>(ObjectMapper.java:460)

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Could not initialize class com.fasterxml.jackson.databind.SerializationConfig at com.fasterxml.jackson.databind.ObjectMapper.<init>(ObjectMapper.java:543) at com.fasterxml.jackson.databind.ObjectMapper.<init>(ObjectMapper.java:460)

      at org.springframework.http.converter.json.Jackson2ObjectMapperBuilder.build()
    2. Spring
      Jackson2ObjectMapperBuilder.build
      1. org.springframework.http.converter.json.Jackson2ObjectMapperBuilder.build(Jackson2ObjectMapperBuilder.java:553)
      1 frame